Overview
Product categories allow retailers to create a hierarchal structure that helps narrow down products into unique groups or sub-groups based on shared characteristics Products can be associated with 0 to 3 levels of categories Category Hierarchy ExampleCategoryId | Category Text | Category Name | ParentId | Level |
|---|---|---|---|---|
|
| pets | Level 1 | |
|
| dog supplies | 100 | Level 2 |
|
| dog food & treats | 200 | Level 3 |
200 and 300)
An additional endpoint is provided to lookup categories by categoryId across all retailers in case looking up for a category by its unique ID is required
Endpoints
Verb | Endpoint | Description |
|---|---|---|
|
| Search for categories based on category ID |
|
| Search for retailer categories and filter down by a specific category name |
Category Query Parameters
0Is Nullable? NoThe number of Categories to skip before returning results. Maximum value is tentatively capped at 500 since we anticipate performance issues for particularly broad searchesValues: int32100Is Nullable? NoThe max number of Categories to return. Max value capped at 100Values: int32Category Attributes
| from the top level of the hierarchy down to the Category name. The value of text gets generated by attaching Category name recursively to it’s parent category using | symbol until there is no more parentsValues: 500 char limit- note: if this is a level 1 category then ParentId is
"null"
Get Category By Category ID
Sample RequestGet Categories by Retailer
Results are paginated usingpageIndex and pageSize query parameters; if omitted, defaults to 0 and 25, respectively. See API Response.
Sample Request 1Searching by specifying one category name in the query parameters
Searching by multiple categories’ names within the same call
Responses
Response | Description |
|---|---|
🔵
| Success |
🔴
| No IDs were passed in |
🔴
| A non-request input-based error occurred in the server. |