Menu
Get Campaign
Get campaign information.
GET
/organizations/{organizationId}/campaigns/{campaignId}Use it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Get Campaign action (under Campaigns (Data API)).
- Fill in the fields below, then reference the result from later steps as
{{getCampaign.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getCampaign.response.data.<field>}}.
{
"campaignId": "NewYearCampaign",
"coupons": [
"20%offOrder",
"10%offWelcomeNewUser"
],
"creationDate": "2019-10-03T19:36:56.000Z",
"customerGroups": [
"BigShoppers",
"NorthAmericanShoppers"
],
"description": "string",
"enabled": true,
"endDate": "2025-01-01T00:00:00Z",
"lastModified": "2019-10-03T19:36:56.000Z",
"sourceCodeGroups": [
"affiliate-email",
"gaming-email"
],
"startDate": "2019-10-03T19:36:56.000Z"
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?