category example:
{
"id": 218,
"name": "Medical Books",
"parent": 320,
"primary": 1
}
| Field | Type | Example | Description |
|---|---|---|---|
| id | Integer | 218 | id of category |
| name | String | Medical Books | name of category |
| parent | Integer | 320 | category_id of parent category |
| primary | Integer | 1 | only primary category can have product |
Each product must belong to only one primary category in the category tree.
For example: Fashion -> Accessories -> Watches -> Men’s watches -> Sports watches
Note: If you is a cross-border seller, you can use param parent=17166 to get all cross-border categories. Category 17166 is root of all cross-border categories.