Saltar al contenido principal
GET
JavaScript

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de consulta

page_size
integer<int32>

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

Rango requerido: x >= 0
page_number
integer<int32>

Page number (default = 0).

Rango requerido: x >= 0
code
string

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

discount_type
enum<string>

Filter by discount type

Opciones disponibles:
percentage
active
boolean

Filter by active status (true = not expired, false = expired)

product_id
string

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

Respuesta

List of active Discounts

items
object[]
requerido

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

Última modificación el 1 de abril de 2026