Menu
Get Subscriptions
Get shopper consent preferences
GET
/organizations/{organizationId}/subscriptionsUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Get Subscriptions action (under Shopper Consents).
- Fill in the fields below, then reference the result from later steps as
{{getSubscriptions.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getSubscriptions.response.data.<field>}}.
{
"data": [
{
"subscriptionId": "weekly-newsletter",
"channels": [
"email",
"sms"
],
"consentStatus": [
{
"channel": "email",
"contactPointValue": "john.doe@example.com",
"status": "opt_in"
},
{
"channel": "sms",
"contactPointValue": "+1 555 123 4567",
"status": "opt_out"
}
],
"title": "Weekly Newsletter",
"subtitle": "Stay informed about new features. <a href=\"https://example.com/features\">Learn more</a>",
"tags": [
"homepage_banner",
"user_profile"
],
"consentType": "marketing",
"consentRequired": false,
"defaultStatus": "opt_out"
}
]
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?