Saltar al contenido principal
GET
/
promotions
/
{promotionId}
Obtener
curl --request GET \
  --url https://sandbox.api.riqra.com/promotions/{promotionId} \
  --header 'api-key: <api-key>'
{
  "data": {
    "id": 123,
    "name": "<string>",
    "useCount": 123,
    "isActive": true,
    "startDate": "<string>",
    "expirationDate": "<string>",
    "usageLimit": 123
  }
}

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

Response

200 - application/json

OK

data
object
required