Returns coupons based on the affiliate program. Coupons define the discount structure (amount, type, duration) that promotional codes will use.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the coupon to retrieve
The external ID of the coupon (e.g., Stripe coupon ID)
The name of the coupon to retrieve
A list of coupons or a single coupon
The coupon ID
Name of the coupon
External ID (e.g., Stripe coupon ID)
Type of discount - percentage or flat amount
PERCENTAGE, FLAT Percentage off (1-100) for percentage coupons
Amount off for flat coupons
Currency for flat amount coupons (e.g., USD, EUR)
How long the discount applies
once, forever, repeating Number of months for repeating duration
Maximum number of times this coupon can be redeemed
Whether coupon is limited to specific products
Array of product IDs this coupon applies to
Whether the coupon is currently valid
Date by which the coupon must be redeemed
Integration type (e.g., stripe, custom)
The affiliate program ID
Timestamp when the coupon was created
Timestamp when the coupon was last updated
Promotional codes associated with this coupon