General
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
or
or
or
or
Responses
200
Успешно
application/json
successbooleanRequiredExample:
truemessagestringRequiredExample:
Order paid successfullyorder_idintegerRequired
400
Ошибка валидации/баланса/недостаток стока
application/json
401
Неавторизован
application/json
post
/user/api/orders/purchaseAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
countrystringRequiredExample:
DEproductstringRequiredExample:
dcResponses
200
Успешно
application/json
countrystringRequired
productstringRequired
amountintegerRequired
get
/user/api/proxies/available-count200
Успешно
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
statusstringRequired
active | on-hold | cancelled | all
offsetintegerOptionalExample:
Смещение выборки (по умолчанию 0)
0limitinteger · min: 1 · max: 100OptionalExample:
Размер страницы (1..100, по умолчанию 20)
20Responses
200
Список заказов
application/json
successbooleanRequired
countintegerOptional
Количество заказов в текущей выборке
prevstring · nullableOptional
URI предыдущей страницы
nextstring · nullableOptional
URI следующей страницы
get
/user/api/orders200
Список заказов
Последнее обновление
Это было полезно?

