update_batch_webhook
Update the callback URL of an existing Mailchimp batch webhook. Point it to a new endpoint to receive POST notifications when a batch completes.
Instructions
Update the target URL of an existing batch webhook.
Use to point an existing batch webhook at a new callback URL. Use list_batch_webhooks to find batch_webhook_id values and delete_batch_webhook to remove a webhook instead.
Returns 404 error if batch_webhook_id is invalid.
Args: batch_webhook_id: The batch webhook ID to update. Obtain from list_batch_webhooks. url: The new callback URL Mailchimp will POST to when a batch completes.
Returns: JSON with id, url, enabled (boolean). Returns an error object if the input is rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| account | No | ||
| batch_webhook_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |