Endpoint:
Authorization
Example:Authorization | Bearer Paste-Your-API-Key-Here
Query Parameters
Number of items to return per page. Defaults to 10.
Cursor for forward pagination. Pass the nextStartingAfter value from the
previous response to fetch the next page.
Filter the list by campaign status. Accepted values: active, inactive,
expired, upcoming.
Filter the list by keyword, matched against the coupon / discount campaign
name.
Return only the campaigns that apply to the given product (payment link) ID.
Response
Successful Response
Main Structure (Root)
Status message that describes the status code.
The list payload, holding the coupons array.
Information on whether there is additional data to be retrieved (true/false).
Cursor to pass as startingAfter to fetch the next page. null when there is
no further data.
data Structure (Object)
List of coupons / discount campaigns. Each item is one discount campaign.
coupons Structure (Array Of Object)
Campaign status (active, inactive, expired, or upcoming).
Discount value applied by the campaign.
Number of times the campaign’s coupons have been used.
Creation time in ISO 8601 format.
Expiration time in ISO 8601 format, or null when the campaign does not
expire.
Products the campaign applies to (empty when it applies to all products).
coupons.products Structure (Array Of Object)
Product (payment link) ID the campaign applies to.
Name of the product (payment link).