Skip to main content
Version: Canary ๐Ÿšง

categoryCreate

Creates a new category.

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

Argumentsโ€‹

categoryCreate.inputย โ—ย CategoryInput! non-null inputโ€‹

Fields required to create a category.

categoryCreate.parentย โ—ย ID scalarโ€‹

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

Typeโ€‹

CategoryCreate objectโ€‹

Creates a new category.

Requires MANAGE_PRODUCTSpermission.

Was this page helpful?