Skip to main content
GET
List all discount coupons

Authorizations

X-SALESBRICKS-KEY
string
header
required

API key for authentication

Query Parameters

active
boolean

Filter by active status (true/false)

limit
integer

Number of results to return per page.

offset
integer

The initial index from which to return the results.

ordering
enum<string>

Order results by field (prefix with '-' for descending order)

Available options:
-created_at,
created_at
valid
boolean

Filter to only valid coupons (active, not expired, under usage limit)

Response

200 - application/json
count
integer
required
Example:

123

results
object[]
required
next
string<uri> | null
Example:

"http://api.example.org/accounts/?offset=400&limit=100"

previous
string<uri> | null
Example:

"http://api.example.org/accounts/?offset=200&limit=100"