Get list of categories
GET
/api/rest/v1/categories
Category
root/left
.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/rest/v1/categories'
Response Response Example
200 - Example 1
{
"_links": {
"first": {
"href": "string"
},
"next": {
"href": "string"
},
"previous": {
"href": "string"
},
"self": {
"href": "string"
}
},
"current_page": 0,
"_embedded": {
"items": [
{
"_links": {
"self": {
"href": "string"
}
},
"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
Query Params
search
stringÂ
optional
page
integerÂ
optional
page
pagination method type. Should never be set manually, see Pagination sectionlimit
integerÂ
optional
with_count
stringÂ
optional
with_position
stringÂ
optional
with_enriched_attributes
stringÂ
optional
Responses
Modified at 2023-08-15 05:53:55