Get Category Tree
GET
/api/v2.1/sellers/products/categories/Last modified: 7 months ago
Use this API to retrieve the list of all product categories in the system.
Request
Header Params
Authorization
string
optional
Example:
Token {{API_TOKEN}}
Content-Type
string
optional
Example:
application/json
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object
required
total_count
integer
required
categories
array [object {2}]
required
error
boolean
required
error_code
string
required
messages
string
required
request_id
string
required
Example
{
"data": {
"total_count": 37,
"categories": [
{
"id": 128,
"name": "PaperBag"
},
{
"id": 127,
"name": "Services"
},
{
"id": 126,
"name": "Spare Parts"
},
{
"id": 125,
"name": "Wellness/Personal Care"
},
{
"id": 109,
"name": "Food & Beverages"
},
{
"id": 108,
"name": "Footwear"
},
{
"id": 107,
"name": "Bags"
},
{
"id": 106,
"name": "Apparel"
},
{
"id": 105,
"name": "Equipment"
},
{
"id": 85,
"name": "Samples"
},
{
"id": 65,
"name": "Shoes"
},
{
"id": 26,
"name": "Branded Packaging Materials"
},
{
"id": 25,
"name": "Office Supplies"
},
{
"id": 24,
"name": "Gifts"
},
{
"id": 23,
"name": "Other"
},
{
"id": 22,
"name": "Comestic"
},
{
"id": 21,
"name": "Pet Accessories"
},
{
"id": 20,
"name": "Books & Collectibles"
},
{
"id": 19,
"name": "Gaming"
},
{
"id": 18,
"name": "Documents"
}
]
},
"error": false,
"error_code": "",
"messages": "",
"request_id": "6619048cc4cac17456c9de95"
}
Last modified: 7 months ago