ChargebeeAPI

Coupon sets

A coupon set contains a bunch of coupon codes that can be redeemed by your customers when they are checking out. It belongs to an existing coupon and will usually be combined with other coupons that share similar promotion or discount offers. Using this resource, you can create, update, retrieve, delete coupon sets and add coupon codes to a coupon set.

Sample Coupon setJSON

Coupon sets attributes

id
required, string, max chars=50

Uniquely identifies a coupon_set

coupon_id
required, string, max chars=100

Coupon id linked to coupon set

name
required, string, max chars=50

Name of the coupon set

total_count
optional, integer

No of coupon codes present in coupon set

redeemed_count
optional, integer

No of redeemed codes

archived_count
optional, integer

No of archived codes

meta_data
optional, jsonobject

A collection of key-value pairs that provides extra information about the coupon set.

Note: There's a character limit of 65,535.

Learn more .