update_webhook
Update webhook configuration in MoySklad by specifying the webhook ID and modifying its URL, trigger action, entity type, enabled state, or diff type. Adjust notifications to match your integration needs.
Instructions
Update a webhook (URL, action, entity type, enabled 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": {
"id": "<id>"
},
"name": "update_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Webhook UUID | |
| url | No | New callback URL | |
| action | No | New trigger action | |
| enabled | No | Enable or disable the webhook | |
| diffType | No | For UPDATE webhooks: NONE or FIELDS | |
| entityType | No | New entity type to watch |