Skip to main content
GET
JavaScript

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Paramètres de requête

page_size
integer<int32>

Page size (default = 10, max = 100).

Plage requise: x >= 0
page_number
integer<int32>

Page number (default = 0).

Plage requise: x >= 0
code
string

Filter by discount code (partial match, case-insensitive)

discount_type
enum<string>

Filter by discount type

Options disponibles:
flat,
percentage
active
boolean

Filter by active status. true = currently redeemable (started, not expired, not usage-exhausted). false = not currently redeemable (expired, usage-exhausted, or pending a future starts_at).

product_id
string

Filter by product restriction (only discounts that apply to this product)

Réponse

List of active Discounts

items
object[]
requis

Array of active (non-deleted) discounts for the current page.

Dernière modification le 1 avril 2026