Idempotency Supported
Updates the configuration of an existing webhook endpoint using its unique identifier. You can use this API to change properties such as the name, URL, subscribed events, authentication credentials, or API version. This is useful when rotating endpoints, updating destination URLs, or modifying which events your system listens to.
Sample Request
Sample Result[JSON]
URL Format
POST https://[site].chargebee.com/api/v2/webhook_endpoints/{webhook-endpoint-id}
Input Parameters
The API version used to format the webhook payload. Ensure this version matches the client library used by your webhook server.
Enum Values
v1
If selected, the payload includes only attributes from API v1 resources.
v2
If selected, the payload includes only attributes from API v2 resources.
A list of event types that trigger this webhook.
Note If this field is left empty, the webhook will enable all event types by default.
Enum Values
coupon_created
coupon_updated
coupon_deleted
coupon_set_created
coupon_set_updated
Returns
Webhook endpoint object
Resource object representing webhook_endpoint