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>.
Path parameters
order_idintegerRequired
Body
cyclestringRequiredExample:
monthlyResponses
200
Успешно
application/json
successbooleanOptional
messagestringOptional
orderobjectOptional
400
Неверный продукт или цикл
application/json
401
Неавторизован
application/json
403
Цикл недоступен для этого пользователя
application/json
post
/user/api/orders/change-billing-cycle/{order_id}Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
order_idintegerRequired
Query parameters
auto_renewalbooleanRequiredExample:
trueResponses
200
Успешно
application/json
successbooleanOptional
messagestringOptional
400
Неверный продукт для операции
application/json
401
Неавторизован
application/json
post
/user/api/orders/edit-auto-renewal/{order_id}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
Список заказов
Last updated
Was this helpful?

