Get Category Tree
Retrieve the Category Tree for a given category_id
. A category tree is a hierarchical structure used to organize items into nested categories and subcategories to facilitate easier navigation and management.
Path parameters
idstringRequired
Header parameters
X-Violet-TokenstringRequired
X-Violet-App-SecretstringRequired
X-Violet-App-Idinteger · int32Required
Responses
default
default response
application/json
get
GET /v1/catalog/categories/{id}/tree HTTP/1.1
Host: sandbox-api.violet.io
X-Violet-Token: text
X-Violet-App-Secret: text
X-Violet-App-Id: 1
Accept: */*
default
default response
[
{
"id": "text",
"name": "text",
"slug": "text",
"parent_id": "text",
"depth": 1
}
]
Last updated
Was this helpful?