List Coupons
Coupons
List Coupons
Retrieve a list of all coupons with optional filtering and pagination.
GET
List Coupons
Query Parameters
integer
default:"1"
Page number for pagination
integer
default:"20"
Number of coupons per page (max 100)
string
Filter coupons by status. Available values:
active, inactivestring
Search coupons by code or name
string
Filter by discount type. Valid values:
percent, fixed_amountnumber
Filter coupons with a discount value greater than or equal to this amount
number
Filter coupons with a discount value less than or equal to this amount
string
Filter coupons whose
active_from date is on or after this date (YYYY-MM-DD)string
Filter coupons whose
active_to date is on or before this date (YYYY-MM-DD)string
default:"created_at"
Field to sort results by. Valid values:
id, code, discount_value, active_from, active_to, created_atstring
default:"DESC"
Sort direction. Valid values:
ASC, DESC