GET/v1/sites/{siteId}/categories/{code}
One category, by its code. A retired category is returned too, with active false.
Needs Catalogue: read
Responses
200 OK
activerequired
False for a retired category, which is listed only with includeInactive.
boolean
coderequired
The category's code, the same at every site that has it.
string
namerequired
The category's name.
string
orderrequired
Where the category sits among the site's others, lowest first.
integer
defaultCourseCode
The course a product in this category goes to the kitchen with, unless the product says otherwise.
string
updatedAt
When the category last changed. Absent for one that has not changed since this was recorded.
string · date-time