Menu
Create Promotion
Create a promotion using the information provided.
PUT
/organizations/{organizationId}/promotions/{id}Use it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Create Promotion action (under Promotions (Data API)).
- Fill in the fields below, then reference the result from later steps as
{{createPromotion.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"archived": true,
"assignmentInformation": null,
"creationDate": "2025-01-01T00:00:00Z",
"currencyCode": "string",
"disableGloballyExcluded": true,
"enabled": true,
"exclusivity": "no",
"id": "string",
"lastModified": "2025-01-01T00:00:00Z",
"name": {},
"promotionClass": "product",
"tags": [
{
"tagId": "string"
}
]
}
Response
Returns 200 with an object. Read it in later steps with {{createPromotion.response.data.<field>}}.
{
"archived": true,
"assignmentInformation": null,
"creationDate": "2025-01-01T00:00:00Z",
"currencyCode": "string",
"disableGloballyExcluded": true,
"enabled": true,
"exclusivity": "no",
"id": "string",
"lastModified": "2025-01-01T00:00:00Z",
"name": {},
"promotionClass": "product",
"tags": [
{
"tagId": "string"
}
]
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?