Menu
Update a webhook subscription (PUT)
Update a webhook subscription
PUT
/webhooks/producers/{producerIdentifier}/subscriptions/{subscriptionId}Use it in a workflow
- Add a step and choose the SCAYLE Admin connector.
- Pick the Update a webhook subscription (PUT) action (under Webhooks).
- Fill in the fields below, then reference the result from later steps as
{{updateAWebhookSubscriptionPut.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"eventName": "customer-created",
"url": "https://consumer.example.com/hooks",
"id": 1,
"externalId": "ext-sub-1",
"target": {
"companyId": 1,
"shopCountryId": 2
},
"enabled": true,
"disabledReason": "max_suspensions",
"auth": null,
"customHeaders": {
"X-Integration-Id": "acme-webhooks"
},
"rpm": 60,
"suspendedUntil": "2024-09-30T09:31:43.235Z",
"email": "alerts@biz.example"
}
Response
Returns 200 with an object. Read it in later steps with {{updateAWebhookSubscriptionPut.response.data.<field>}}.
{
"eventName": "customer-created",
"url": "https://consumer.example.com/hooks",
"id": 1,
"externalId": "ext-sub-1",
"target": {
"companyId": 1,
"shopCountryId": 2
},
"enabled": true,
"disabledReason": "max_suspensions",
"auth": null,
"customHeaders": {
"X-Integration-Id": "acme-webhooks"
},
"rpm": 60,
"suspendedUntil": "2024-09-30T09:31:43.235Z",
"email": "alerts@biz.example"
}
Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.
Was this page helpful?