Coupons
List Coupons
Get a paginated list of affiliate promotional coupons
GET
Query Parameters
Page number for pagination. Must be a positive integer.
Number of results per page. Maximum value is 200. Default is 50.
Filter coupons by affiliate ID.
Filter coupons by program ID.
Search by coupon code. Case-insensitive partial matching. Maximum 100 characters.
Sort field and direction in the format
field:direction. Valid fields: created_at, code. Valid directions: asc, desc. Example: created_at:desc.Comma-separated list of related data to include in the response. Valid values:
affiliate.Response
The response includes a paginated list of coupons and pagination metadata.Always
true for successful responsesArray of coupon objects. Each coupon object has the same structure as the single coupon response (see Get Coupon endpoint).
Pagination metadata object containing:
page(integer): Current page numberlimit(integer): Number of results per pagetotal(integer): Total number of coupons matching the filterstotalPages(integer): Total number of pageshasNextPage(boolean): Whether there is a next pagehasPrevPage(boolean): Whether there is a previous page
