update_webhook
Webhooks send this business's events to the pro's own systems as signed HTTPS POSTs. They come with Storefront Pro; on the free storefront the answer includes an upgrade link. Change a webhook endpoint's URL, event types, description or active state.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"endpointId": "<endpointId>",
"proAccessToken": "<proAccessToken>"
},
"name": "update_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | No | Use true to turn the endpoint on and false to turn it off. | |
| url | No | ||
| events | No | ||
| endpointId | Yes | ||
| description | No | ||
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. |