Catalog Categories
Get Category by ID
GET
/v1/catalog/categories/{id}
X-Violet-Token
X-Violet-App-Secret
X-Violet-App-Id
curl --request GET \
--url https://sandbox-api.violet.io/v1/catalog/categories/{id}
{
"depth": "integer",
"id": "string",
"name": "string",
"parent_id": "string",
"slug": "string"
}
Retrieve a specific Category
given the category_id
.
Headers
X-Violet-Token
string
X-Violet-App-Secret
string
X-Violet-App-Id
integer
Path Parameters
idrequired
string
Response
200 - application/json
depthrequired
integer
Category Depth
id
string
namerequired
string
Category Name
parent_id
string
Parent ID
slugrequired
string
Category Slug
curl --request GET \
--url https://sandbox-api.violet.io/v1/catalog/categories/{id}
{
"depth": "integer",
"id": "string",
"name": "string",
"parent_id": "string",
"slug": "string"
}