There are two ways in Coupon applied to a subscription can be edited: 1. Via Web interface 2. Via API.
Using the Web interface:-
To update/remove a coupon using the Chargebee web interface, go to the subscription details page (Subscriptions > Subscriptions > Click the subscription ID on which the coupon has to be updated) and click the “Change subscription” option provided on the top right corner as shown in screenshot below:-
On the next page, you can simply x out the existing coupon if you want to remove it and if you want to apply a new coupon simply select a new coupon from the drop down and apply.
2. Using APIs:
To update an existing coupon via Chargebee APIs, you can use the Update subscription API call and pass the new coupon id with the parameter “coupon”.
To remove coupons, you can use the Remove Coupons API call and list the coupons to remove with the parameter coupon_ids. If the parameter, coupon_ids is not specified all coupons associated with the subscription will be removed.