update_webhook
Update a webhook subscription's callback URL, format, or field filters. Change endpoint domains or switch between JSON and XML without recreating the webhook.
Instructions
Modify an existing webhook subscription's callback URL, payload format, includeFields filter, or metafield-namespace filter. Topic cannot be changed — to switch event types, delete and recreate the subscription. Use when migrating an endpoint to a new domain, switching from JSON to XML, or tightening payload size by adding includeFields. Omitted parameters are left unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Webhook subscription GID to update. | |
| callbackUrl | No | ||
| format | No | ||
| includeFields | No | ||
| metafieldNamespaces | No |