Update webhook
update_webhookUpdate an existing webhook by changing its HTTPS URL, subscribed events, or setting it inactive. Send the full event list, not a delta, for subscription changes.
Instructions
Update an existing webhook: change url (HTTPS only), the subscribed events, or set deactivate=true to switch the webhook to INACTIVE. events is the full subscription list, not a delta — to add CUSTOMER_CHANGED to an existing webhook, read it with get_webhook first and send its current events plus the new one. Call get_operation_schema("UpdateWebhook") for the exact request shape.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Webhook ID (UUID). | |
| webhook | Yes | Fields to update, matching the UpdateWebhookRequest schema (see get_operation_schema("UpdateWebhook")). Must not be empty. |