Introducing the Better Auth Chargebee plugin: Use it to handle subscriptions, billing, and auth seamlessly.
Chargebeechargebee API

Export Coupons

Idempotency Supported

This API triggers export of coupon data. The exported zip file contains CSV files with coupon-related data.

Sample Request

Sample Result[JSON]

URL Format

POST https://[site].chargebee.com/api/v2/exports/coupons

Input Parameters

currency_code
optional, string

optional, string filter

The currency code (ISO 4217 format ) of the coupon. Applicable for fixed_amount coupons alone. Supported operators : is, is_not, starts_with, in, not_in

Example → currency_code[is] = "USD"

applicable_item_price_ids
optional, string

optional, string filter

List of itemPrice ids for which these coupons are applicable.

Supported operators : in, is

Example → applicable_item_price_ids[in] = "day-pass-USD"

coupon
Parameters for coupon
pass parameters as coupon[<param name>]

Returns

Export object
Resource object representing export