Coupons
List Promo Codes
Retrieves a paginated list of up to 1,000 promo codes for a specific coupon.
GET
Authorizations
Publisher token, as displayed in the Publisher Dashboard.
Path Parameters
Coupon name.
Example:
"summer26"
Query Parameters
Maximum number of promo codes to return.
Example:
1000
Page number to retrieve.
Example:
1
Sort direction of results by createdAt.
Available options:
asc, desc Example:
"desc"
Filter by active status.
Example:
true
Response
Promo codes retrieved successfully.
List of promo codes.
Total number of promo codes matching the query.
Example:
42
Total number of pages matching the query.
Example:
1
Whether there is an additional page of results.
Example:
true
Current page number.
Example:
1
Maximum number of promo codes per page.
Example:
1000
