List coupons
This endpoint returns a list of all coupons for an account in a list format.
The list of coupons is ordered starting from the most recently created coupon. The response also includes
pagination_metadata
, which lets the caller retrieve the next page of results if they exist. More information
about pagination can be found in the Pagination-metadata schema.
Authorizations
API Keys can be issued in the Orb's web application.
Query Parameters
The number of items to fetch. Defaults to 20.
1 < x < 100
Cursor for pagination. This can be populated by the next_cursor
value returned from the initial request.
Show archived coupons as well (by default, this endpoint only returns active coupons).
Filter to coupons matching this redemption code.
Response
A coupon represents a reusable discount configuration that can be applied either as a fixed or percentage amount to an invoice or subscription. Coupons are activated using a redemption code, which applies the discount to a subscription or invoice. The duration of a coupon determines how long it remains available for use by end users.
Was this page helpful?