Menu
Cache Purge
Purge the cache for the host specified in the request body.
POST
/organizations/{organizationId}/zones/{zoneId}/cachepurgeUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Cache Purge action (under Zones (Data API)).
- Fill in the fields below, then reference the result from later steps as
{{cachePurge.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"path": "www.sfcc-ecdn-test5.net/dw/shop/v21_9/products",
"tags": [
"product-123",
"category-456"
]
}
Response
Returns 200 with an object. Read it in later steps with {{cachePurge.response.data.<field>}}.
{
"data": {
"cachePurged": false,
"details": "1084 : Unable to purge '<url>'."
}
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?