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

1/connect/pcm/catalogs/{catalogId}/categories

Resource Example

1https://{yourInstance}.salesforce.com/services/data/v68.0/connect/pcm/catalogs/{0ZST100000000kUOAQ}/categories
1https://{yourInstance}.salesforce.com/services/data/v68.0/connect/pcm/catalogs/{0ZST100000000kUOAQ}/categories?language=spanish

Available Version: 60.0

Requires Chatter: No

HTTP Methods: GET

Request Parameters for GET

Parameter NameTypeDescriptionRequired or OptionalAvailable Version
correlation​IdStringUnique token to track and associate related events or transactions across different components of the application. If unspecified, a Universally Unique Identifier (UUID) is generated.Optional60.0
depthIntegerNumber of levels in the category hierarchy to return. The default value is 1.Optional60.0
fieldsString[]For internal use only.Optional60.0
languageStringCustom 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.Optional64.0
parent​Category​IdStringID of the category to fetch the associated hierarchy of subcategories. If unspecified, then the root-level categories are returned.Optional60.0

Response Body for GET: Categories Output