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.

Columns

No match found

coupon_set_id string, not null
Foreign Key coupon_sets.id
Uniquely identifies a coupon_set

coupon_id string, not null
Foreign Key coupons.id
Id of the main coupon resource.

code string, not null
Unique coupon code that can be redeemed only once.

coupon_set_name string, not null
Coupon set name to which this coupon code would be grouped under. If the coupon set with the passed name is not present, a new coupon set will be created.

status string, not null, default=not_redeemed
Status of the coupon code.