Catalog Categories
Get Category by Slug
GET
/v1/catalog/categories/slug/{slug}
X-Violet-Token
X-Violet-App-Secret
X-Violet-App-Id
curl --request GET \
--url https://sandbox-api.violet.io/v1/catalog/categories/slug/{slug}
{
"depth": "integer",
"id": "string",
"name": "string",
"parent_id": "string",
"slug": "string"
}
Retrieve a specific Category
given the slug
.
Headers
X-Violet-Token
string
X-Violet-App-Secret
string
X-Violet-App-Id
integer
Path Parameters
slugrequired
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/slug/{slug}
{
"depth": "integer",
"id": "string",
"name": "string",
"parent_id": "string",
"slug": "string"
}