update_webhook
Modify an existing webhook by ID to change its endpoint URL, trigger events, secret, or enabled state, keeping your integrations in sync with shop activity.
Instructions
Update an existing webhook by ID.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The webhook ID to update | |
| url | No | Updated endpoint URL | |
| name | No | Updated name | |
| secret | No | Updated shared secret | |
| enabled | No | Enable or disable the webhook | |
| version | No | Updated payload version | |
| triggers | No | Updated list of trigger event types |