Menu
Get Promotions
Return an array of enabled promotions for specified IDs.
GET
/organizations/{organizationId}/promotionsUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Get Promotions action (under Shopper Promotions).
- Fill in the fields below, then reference the result from later steps as
{{getPromotions.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getPromotions.response.data.<field>}}.
{
"data": [
{
"id": "$30FixedShippingAmountAbove150",
"calloutMsg": "$30 Fixed Shipping Amount Above 150",
"currency": "USD",
"details": "$30 Fixed Shipping Amount Above 150",
"endDate": "2015-07-04T21:00:00Z",
"image": "string",
"name": "$30 Fixed Shipping Amount Above 150",
"startDate": "2015-07-04T21:00:00Z"
}
]
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?