ChargebeeAPI

Retrieve a coupon

Important For sites where both Product Catalog versions 1.0 and 2.0 are active, add the header chargebee-response-schema-type: compat to this API request to receive the response in a format compatible with both Product Catalog 2.0 and Product Catalog 1.0. Note:

  • If the header is not passed, and your site supports coexistence of legacy and latest product catalogs, the value compat is used by default.

This API retrieves a specific coupon using the coupon ID.

Sample Request

URL Format

GET https://[site].chargebee.com/api/v2/coupons/{coupon-id}

Returns

couponCoupon object

Resource object representing coupon