Using AI coding agents like Claude Code or Cursor? Try the official Chargebee Agent Skills to speed up your development.Try now
Idempotency Supported
Try in API ExplorerCaution
If there are scheduled ramps for the subscription, this operation can move the ramps to the draft status when it conflicts with any upcoming ramps.
Removes coupons associated with the subscription. If the param coupon_ids
is not specified, all the coupons linked to the subscription are be removed.
Sample Request
URL Format
POST https://[site].chargebee.com/api/v2/subscriptions/{subscription-id}/remove_coupons
Input Parameters
optional, string, max chars=100
List of coupons to be removed from the subscription. You can provide only coupon_id and not coupon_code .
Returns
subscriptionSubscription object
Resource object representing subscription
customerCustomer object
Resource object representing customer
cardCard object
Resource object representing card