Category
A Category
can be associated with Product Catalogues and Products. It has a tree-like structure, where each Category may contain a parent category, and / or one or more child categories. This new Category structure allows support for more advanced category hierarchies. The ref
field will be the unique identifier for this Category within the specified Product Catalogue, as identified by the catalogue
field.
The Category
is an orchestrateable entity. Events for these should specify a parent entity of Product Catalogue.
Backward Compatibility Note
With the introduction of Global Inventory, we have introduced new data structures to support this functionality. Existing orchestration enabled clients will have access to their existing product based data via the COMPATIBILITY:<retailerId>
catalogue.
For more information, please refer to the Backward Compatibility Guide on Lingo
Implements
Connections
CategoryConnection
)
A connection to the immediate child Categories (NOTE: This currently does not traverse the entire tree)
Argument | Type | Description |
---|---|---|
createdOn |
DateRange
|
|
updatedOn |
DateRange
|
|
ref |
[String!]
|
The unique reference identifier for the Category |
type |
[String!]
|
|
workflowRef |
[String!]
|
|
workflowVersion |
[Int!]
|
|
status |
[String]
|
|
name |
[String!]
|
The name of the Category |
summary |
[String]
|
A short description of the Category |
catalogue |
ProductCatalogueKey
|
|
first |
Int
|
Returns the first n elements from the list |
last |
Int
|
Returns the last n elements from the list |
before |
String
|
Returns the elements in the list that come before the specified global ID |
after |
String
|
Returns the elements in the list that come after the specified global ID |
Fields
ID!
)
ID of the object. For internal use, should not be used externally or by any business logic
DateTime
)
Time of creation
DateTime
)
Time of last update
String!
)
The unique reference identifier for the Category
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.
String
)
The current status of the Category
.
By default, the initial value will be CREATED, however no other status values are enforced by the platform.
The status field is also used within ruleset selection during orchestration. For more info, see Orchestration
String!
)
The reference used for workflow identification. This is defined by a combination of the entity name and the type, in the format [EntityName]::[Type]. For example, an Order of type CC will have the workflowRef "ORDER::CC".
Int!
)
The version of the workflow assigned to the entity and used for workflow identification. It comprises a major version and minor version number.
[Attribute]
)
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.
String!
)
The name of the Category
String
)
A short description of the Category
ProductCatalogue!
)
The Product Catalogue in which this Category is managed
Category
)
This Category's immediate parent Category