Menu
Add Products To Exclusion List
Add products to the exclusion list.
POST
/organizations/{organizationId}/catalogs/{catalogId}/categories/{categoryId}/excluded-productsUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Add Products To Exclusion List action (under Catalogs (Data API)).
- Fill in the fields below, then reference the result from later steps as
{{addProductsToExclusionList.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"data": [
{
"productId": "apple-ipod-classic"
}
]
}
Response
Returns 200 with an object. Read it in later steps with {{addProductsToExclusionList.response.data.<field>}}.
{
"limit": 10,
"total": 10,
"data": [
{
"productId": "apple-ipod-classic"
}
]
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?