Coupon codes are used along with existing coupons in Chargebee. You can create a coupon set using a bunch of coupon codes and this coupon set will be associated with an existing coupon. A coupon code can only be applied to a single subscription and cannot be re-used.
Using coupon codes you can distribute several unique codes for a single main coupon, when you are running promotions.
{
"code": "CBC978B",
"coupon_id": "alpha",
"coupon_set_id": "cs_3Rtysnm",
"coupon_set_name": "Offer",
"object": "coupon_code",
"status": "not_redeemed"
}Retrieves a specific coupon code details.
List the available coupon codes.
Archives a coupon code thereby making it inactive. The archived coupon code cannot be applied to any subscription.