Categories List (GET)
Retrieve the root-level categories of a catalog based on a catalog ID, or subcategories based on a parent category. You can also search, filter, or sort the categories.
Resource
Resource Example
Available Version: 60.0
Requires Chatter: No
HTTP Methods: GET
Request Parameters for GET
| Parameter Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
correlationId | String | Unique token to track and associate related events or transactions across different components of the application. If unspecified, a Universally Unique Identifier (UUID) is generated. | Optional | 60.0 |
depth | Integer | Number of levels in the category hierarchy to return. The default value is 1. | Optional | 60.0 |
fields | String[] | For internal use only. | Optional | 60.0 |
language | String | Custom language that you can specify to get translated data for the fields of an object that’s enabled for translation. See Translate Product and Product Category Data. | Optional | 64.0 |
parentCategoryId | String | ID of the category to fetch the associated hierarchy of subcategories. If unspecified, then the root-level categories are returned. | Optional | 60.0 |
Response Body for GET: Categories Output