RegisterProductCategoryInput
Autogenerated input type of RegisterProductCategory
input RegisterProductCategoryInput {
brandId: ID!
clientMutationId: String
description: String
name: String!
parentId: ID
status: ProductStatusEnum
}
Fields
RegisterProductCategoryInput.brandId ● ID! non-null scalar common
The ID of the brand to which this category belongs.
RegisterProductCategoryInput.clientMutationId ● String scalar common
A unique identifier for the client performing the mutation.
RegisterProductCategoryInput.description ● String scalar common
The description is optional. If not provided, it can be provided later.
RegisterProductCategoryInput.name ● String! non-null scalar common
The name of the category. The name must be unique within the brand. If another category with the same name exists, the operation will fail.
RegisterProductCategoryInput.parentId ● ID scalar common
The ID of the parent category. If the parent category is not specified, the category will be added to the root of the category tree, otherwise it will be added as a child of the specified parent category. This enable the category/subcategory hierarchy.
RegisterProductCategoryInput.status ● ProductStatusEnum enum products
The status of the category. The default value is ACTIVE.
Member Of
registerProductCategory mutation