categoryCreate Mutation
Creates a new category.
categoryCreate(input: CategoryInput!, parent: ID): CategoryCreate
Returns
Show return type
type CategoryCreate {
productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [ProductError!]!
category: Category
}Arguments
input
input · CategoryInput!
Fields required to create a category.
parent
parent · ID
ID of the parent category. If empty, category will be top level category.
Schema: Saleor 3.23.43. Download SDL.