Get a category
GET
/api/rest/v1/categories/{code}
Category
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/rest/v1/categories/'
Response Response Example
200 - Example 1
{
"code": "winter_collection",
"labels": {
"en_US": "Winter collection",
"fr_FR": "Collection hiver"
},
"parent": null,
"position": 1,
"updated": "2023-08-15T05:53:50.708Z",
"values": {
"description|96b88bf4-c2b7-4b64-a1f9-5d4876c02c26|ecommerce|en_US": {
"attribute_code": "description|96b88bf4-c2b7-4b64-a1f9-5d4876c02c26",
"channel": "ecommerce",
"data": "<p>Winter collection description</p>\n",
"locale": "en_US",
"type": "textarea"
}
}
}
Request
Path Params
code
stringÂ
required
Query Params
with_position
stringÂ
optional
with_enriched_attributes
stringÂ
optional
Return attribute values of the category (only available on SaaS platforms) [COMING SOON]
Responses
Modified at 2023-08-15 05:53:55