Update webhook
update_webhookModify an existing webhook by changing its HTTPS URL, replacing subscribed events, or setting it inactive; send the full event list to add or remove subscriptions.
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 CART_UPDATED 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. |