List Product Categories
Authorizations
Query parameters
queryany ofOptional
Search term to filter items by path name
stringOptional
nullOptional
parent_categoryany ofOptional
Filter items by parent category ID
integer · min: 1OptionalExample:
ID (integer) of this property
1
nullOptional
pageinteger · min: 1OptionalDefault:
Page number to retrieve items from.
1
per_pageinteger · min: 1 · max: 100OptionalDefault:
Number of items per page.
20
Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
get
GET /api/v1/categories/ HTTP/1.1
Host:
X-API-Key: YOUR_API_KEY
Accept: */*
{
"items": [
{
"id": 1,
"name": "Caps",
"path": "Fashion|Women|Caps",
"parent_id": 123,
"parent": 1
}
],
"pagination": {
"per_page": 1,
"page": 1,
"pages": 1,
"total": 1,
"next": "text",
"prev": "text"
}
}
Last updated
Was this helpful?