update_webhook_subscription
Update an existing Shopify webhook subscription to change its endpoint URL, filters, included fields, or metafield namespaces without recreating it.
Instructions
Update an existing webhook subscription. You can change the endpoint URL, filters, included fields, or metafield namespaces without recreating the subscription.
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": {
"id": "<id>"
},
"name": "update_webhook_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Webhook subscription ID (e.g., 'gid://shopify/WebhookSubscription/123456789') | |
| uri | No | New webhook endpoint URI | |
| filter | No | New filter expression | |
| includeFields | No | Specific fields to include in webhook payload | |
| metafieldNamespaces | No | Metafield namespaces to include |