categoryCreate Mutation
Creates a new category.
categoryCreate(
input: CategoryInput!
parent: ID
): CategoryCreate
Details
type CategoryCreate {
productErrors: [ProductError!]! @deprecated
errors: [ProductError!]!
category: Category
}
Arguments
input ● CategoryInput!
Fields required to create a category.
parent ● ID
ID of the parent category. If empty, category will be top level category.
Type
CategoryCreate
Creates a new category.