Перейти к основному содержанию
GET
/
v1
/
shared
/
auth
/
loyalties
cURL
curl --request GET \
  --url https://api.example.com/v1/shared/auth/loyalties/
[
  {
    "id": 123,
    "price": "<string>",
    "current": false,
    "passed": false,
    "name": "<string>",
    "percent": -1,
    "grant_limit": "<string>",
    "event_limit": "<string>",
    "delivery_limit": "<string>",
    "tenant": 123
  }
]

Ответ

200 - application/json
id
integer
обязательно
price
string<decimal>
обязательно
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
current
boolean
по умолчанию:false
passed
boolean
по умолчанию:false
name
string | null
Maximum string length: 255
percent
integer
Требуемый диапазон: -2147483648 <= x <= 2147483647
grant_limit
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
event_limit
string | null
delivery_limit
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
tenant
integer