Skip to main content

categoryCreate Mutation

Creates a new category.

Requires the MANAGE_PRODUCTSpermission.
categoryCreate(
input: CategoryInput!
parent: ID
): CategoryCreate
Show return type

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 the MANAGE_PRODUCTSpermission.