Introducing the Better Auth Chargebee plugin: Use it to handle subscriptions, billing, and auth seamlessly.
Chargebeechargebee API

Delete unused coupon codes

Idempotency Supported

Use this API to delete all the unutilised coupon codes from a specific coupon set.

Sample Request

Sample Result[JSON]

URL Format

POST https://[site].chargebee.com/api/v2/coupon_sets/{coupon-set-id}/delete_unused_coupon_codes

Returns

Coupon set object
Resource object representing coupon_set