CategoriesResponse
Response containing category data
categories object
Category connection wrapper with pagination
categories object[]
List of category records
Category code identifier
Category description
Language code for the description
Alias for categoryCode (for compatibility)
texts object[]
Category texts in different languages
Type of text (e.g., description, shortDescription)
ISO 639-1 language code
Text content
Record creation timestamp
Record last update timestamp
Total number of categories matching the query
Pagination token for the next page of results. To retrieve the next page, include this token in the 'token' field of the subsequent request. Tokens are valid for 4 minutes and are tied to the original query criteria. If the query criteria change, a new token must be generated.
errors object[]
Array of errors encountered during processing
Error code identifier
Error type category
Possible values: [CLIENT, SERVER]
Human-readable error description
{
"categories": {
"categories": [
{
"categoryCode": "string",
"description": "string",
"language": "string",
"code": "string",
"texts": [
{
"type": "string",
"languageCode": "string",
"text": "string"
}
],
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
}
],
"count": 0,
"token": "string"
},
"errors": [
{
"code": "string",
"type": "CLIENT",
"description": "string"
}
]
}