Coupons
List Coupons
Get a paginated list of affiliate promotional coupons
GET
Query Parameters
integer
default:"1"
Page number for pagination. Must be a positive integer.
integer
default:"50"
Number of results per page. Maximum value is 200. Default is 50.
string
Filter coupons by affiliate ID.
string
Filter coupons by program ID.
string
Search by coupon code. Case-insensitive partial matching. Maximum 100 characters.
string
Sort field and direction in the format
field:direction. Valid fields: created_at, code. Valid directions: asc, desc. Example: created_at:desc.string
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.boolean
Always
true for successful responsesarray
Array of coupon objects. Each coupon object has the same structure as the single coupon response (see Get Coupon endpoint).
object
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
