Catalog Categories
Search Categories
GET
/v1/catalog/categories/search/{query}
X-Violet-Token
X-Violet-App-Secret
X-Violet-App-Id
curl --request GET \
--url https://sandbox-api.violet.io/v1/catalog/categories/search/{query}
[
{
"depth": "integer",
"id": "string",
"name": "string",
"parent_id": "string",
"slug": "string"
}
]
Search Categories that match a given query
.
The Categories you recieve will only be across Offers you have access to.
Headers
X-Violet-Token
string
X-Violet-App-Secret
string
X-Violet-App-Id
integer
Path Parameters
queryrequired
string
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/search/{query}
[
{
"depth": "integer",
"id": "string",
"name": "string",
"parent_id": "string",
"slug": "string"
}
]