Menu
Create Storefront Zone
Create a new storefront zone.
POST
/organizations/{organizationId}/storefront-zonesUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Create Storefront Zone action (under Zones (Data API)).
- Fill in the fields below, then reference the result from later steps as
{{createStorefrontZone.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"domainName": "cc-merchant.com",
"lastMigrationStep": "8-LegacyToProxyIpAccessRuleMigrationStep"
}
Response
Returns 201 with an object. Read it in later steps with {{createStorefrontZone.response.data.<field>}}.
{
"data": {
"zoneId": "023e105f4ecef8ad9ca31a8372d0c353",
"zoneName": "stg-zzzz-cc-merchant-com.cc-ecdn.net",
"status": "active",
"createdOn": "2014-01-01T05:20:00.12345Z"
}
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?