Skip to main content
Version: 3.x

categoryCreate

Creates a new category.

Requires one of the following permissions: MANAGE_PRODUCTS.

categoryCreate(
input: CategoryInput!
parent: ID
): CategoryCreate

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.

Requires one of the following permissions: MANAGE_PRODUCTS.