Catalog Categories
Get Categories
GET
/v1/catalog/categories
X-Violet-Token
X-Violet-App-Secret
X-Violet-App-Id
curl --request GET \
--url https://sandbox-api.violet.io/v1/catalog/categories
[
{
"depth": "integer",
"id": "string",
"name": "string",
"parent_id": "string",
"slug": "string"
}
]
Retrieve a list of categories that correspond to Offers that you have access to.
Headers
X-Violet-Token
string
X-Violet-App-Secret
string
X-Violet-App-Id
integer
Query Parameters
page
Default: "1"integer
size
Default: "20"integer
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
[
{
"depth": "integer",
"id": "string",
"name": "string",
"parent_id": "string",
"slug": "string"
}
]