List the available coupon codes.
Sample Request
Sample Result[JSON]
URL Format
GET https://[site].chargebee.com/api/v2/coupon_codes
Input Parameters
Filter Params
For operator usages, see the Pagination and Filtering section.
optional, string filter
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. Supported operators : is, is_not, starts_with
Example → coupon_set_name[is_not] = "OFF20"
Supported operators: is, is_not, starts_with
Example →
OFF20Returns
next_offset
optional, string, max chars=1000
This attribute is returned only if more resources are present. To fetch the next set of resources use this value for the input parameter offset.
Coupon code object
Resource object representing coupon_code