Menu
Update Page Shield Notification
Update page shield notification webhook.
PATCH
/organizations/{organizationId}/page-shield/notifications/{webhookId}Use it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Update Page Shield Notification action (under Zones (Data API)).
- Fill in the fields below, then reference the result from later steps as
{{updatePageShieldNotification.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"webhookId": "ffffe61cf25e4ec49c34b029ff3060f7",
"enabled": true,
"zones": [
"zone_1234567890abcdef"
]
}
Response
Returns 200 with an object. Read it in later steps with {{updatePageShieldNotification.response.data.<field>}}.
{
"data": {
"id": "webhook_1234567890abcdef",
"name": "Security Alert Webhook",
"webhookUrl": "https://example.com/webhook/security",
"type": "security_alert",
"createdAt": "2023-01-01T00:00:00Z",
"lastSuccess": "2023-01-01T12:00:00Z",
"lastFailure": "2023-01-01T18:00:00Z",
"enabled": true,
"zones": [
"zone_1234567890abcdef"
]
}
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?