Skip to main content

categoryCreate Mutation

Creates a new category.

Requires MANAGE_PRODUCTSpermission.
categoryCreate(
input: CategoryInput!
parent: ID
): CategoryCreate

Arguments

categoryCreate.input ● CategoryInput! non-null input products

Fields required to create a category.

categoryCreate.parent ● ID scalar miscellaneous

ID of the parent category. If empty, category will be top level category.

Type

CategoryCreate object products

Creates a new category.

Requires MANAGE_PRODUCTSpermission.