CreateCategoryInput

Input parameter for the createCategory mutation. A category ref should be unique within the bounds of the specified catalogue, which together makes up the unique identifier for the Category record.

The following default values will be set on creation:

Input Fields

ref (String!)

The reference identifier used to identify an single Category within a ProductCatalogue. The ref must be unique within a ProductCatalogue.
Max character limit: 100.

catalogue (ProductCatalogueKey!)

The reference of the ProductCatalogue in which this Category will reside. The ProductCatalogue must already exist.

type (String!)

Type of the Category, typically used by the Orchestration Engine to determine the workflow that should be applied. Unless stated otherwise, no values are enforced by the platform.
Max character limit: 50.

attributes ([AttributeInput])

A list of attributes associated with this Category. This can be used to extend the existing data structure with additional data for use in orchestration rules, etc.

name (String!)

The name of the Category

summary (String)

A short description of the Category

parentCategory (CategoryKey)

The reference to the parent of this Category, if any. The parent Category must be a part of the same ProductCatalogue (see catalogue field). The parent Category must already exist.
Max character limit: 36.

childCategories ([CategoryKey])

List of child Category references, if any. Child categories must be a part of the same ProductCatalogue (see catalogue field). The child Category must already exist.