Saltar al contenido principal
GET
/
promotions
/
{promotionId}
/
coupons
Listar
curl --request GET \
  --url https://sandbox.api.riqra.com/promotions/{promotionId}/coupons \
  --header 'api-key: <api-key>'
{
  "items": [
    {
      "id": 123,
      "code": "<string>",
      "useCount": 123,
      "usageLimit": 123,
      "limitPerUser": 123,
      "startDate": "<string>",
      "expirationDate": "<string>"
    }
  ],
  "pagination": {
    "page": 123,
    "pages": 123,
    "total": 123,
    "hasPrevPage": true,
    "hasNextPage": true
  }
}

Authorizations

api-key
string
header
required

Todas las llamadas al API tienen que contener este header junto a la clave para poder autenticar y autorizar al cliente.

Path Parameters

promotionId
number
required

Query Parameters

limit
integer
page
integer

Response

OK

items
object[]
pagination
object