Categories List (POST)

Get a list of categories and subcategories of a specified catalog. This API is a composite API for Product Discovery.

Resource 

1/connect/cpq/categories

Resource Example 

1https://{yourInstance}.salesforce.com/services/data/v68.0/connect/cpq/categories

Available Version 

60.0

HTTP Methods 

POST

Request Body for POST 

JSON Example

1{
2  "correlationId": "9cbb9650-48c5-11ed-96d1-0afcf185843b",
3  "catalogId": "0ZSxx000000009hGAA",
4  "userContext": {
5      "accountId": "001xx0000000001AAA",
6      "contactId": "003xx00000000D7AAI"
7    }
8}

This example shows a sample request to get a list of categories with eligible promotions.

1{
2  "correlationId": "9cbb9650-48c5-11ed-96d1-0afcf185843b",
3  "catalogId": "0ZSxx000000009hGAA",
4  "userContext": {
5    "accountId": "001xx0000000001AAA",
6    "contactId": "003xx00000000D7AAI"
7  },
8  "usePromotions": true
9}

Response Body for POST 

CPQ Base List