v1
latestOpenAPI 3.0.12026-08-062532117.6 KBGet coupons
Returns coupons for your program. A coupon defines the discount itself — how much comes off, in what currency, and for how long. The codes customers actually type at checkout are promotional codes, which each point at a coupon.
Filter with id, externalId or name for a single coupon. With no parameters, every coupon in the program is returned, newest first.
Each coupon comes back with its promotionalCodes (including the affiliate each is assigned to) and its autoCouponRule if one is configured.
Query parameters
The coupon's UUID. Returns a single coupon.
The coupon's ID in the connected billing provider, for example a Stripe coupon ID. Returns a single coupon.
The coupon's name. Returns a single coupon.
Response
A single coupon when filtering by id, externalId or name (null if no match), otherwise every coupon in the program.