Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

categoryCreate Mutation

Creates a new category.

Requires one of the following permissions:MANAGE_PRODUCTS
categoryCreate(input: CategoryInput!, parent: ID): CategoryCreate

Returns

CategoryCreate

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.

Last updated on April 13, 2026

Was this page helpful?