Get Products for Consumer Sales Action
Retrieve a list of products for Consumer Sales.
This action is available in API version 68.0 and later.
This is applicable for Consumer Sales for business-to-consumer (B2C).
You need the CME B2C permission set to use this invocable action.
URI: /services/data/v68.0/actions/standard/getProductsConsumerSales
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where, TOKEN is a variable.
| Input | Type | Description |
|---|---|---|
categoryId | string | Optional. The ID of the category from which products are retrieved. |
catalogId | string | Optional. The ID of the catalog from which products are retrieved. |
priceBookId | string | Optional. The ID of the price book used to price the returned products. |
currencyCode | string | Optional. The ISO currency code used to price the returned products. |
productLimit | int | Optional. The maximum number of products to return in the response. |
paginationCursor | string | Optional. The pagination cursor returned by a previous product list response. |
correlationId | string | Optional. The correlation ID for the product list. |
enablePricing | boolean | Optional. Indicates whether to compute pricing for the returned products. |
enableQualification | boolean | Optional. Indicates whether to compute qualification for the returned products. |
contextDefinition | string | Optional. The context definition used to evaluate the product listing. |
contextMapping | string | Optional. The context mapping used to evaluate the product listing. |
| Output | Type | Description |
|---|---|---|
productList | string | The product list in JSON format. |
correlationId | string | The correlation ID for the product list. |
contextId | string | The ID of the sales transaction context associated with the product list response. |
paginationCursor | string | The pagination cursor for the next page of results. |
- POST
This sample request is for the Get Products for Consumer Sales action.
This sample response is for the Get Products for Consumer Sales action.