Для AI-агентов: markdown этой страницы — /docs/api-op-listorders.md · индекс документации — /llms.txt
listOrders
Обновлено
GET /api/v1/orders
listOrders
#Авторизация и права
Scopes: ALL. Auth alternatives: OR; scopes внутри альтернативы: ALL.
| Поле | Значение |
|---|
| security.0.hubApiKey | [] |
| security.1.hubBearer | [] |
| securitySchemes.hubApiKey.in | "header" |
| securitySchemes.hubApiKey.name | "X-Api-Key" |
| securitySchemes.hubApiKey.type | "apiKey" |
| securitySchemes.hubBearer.scheme | "bearer" |
| securitySchemes.hubBearer.type | "http" |
| x-required-scopes | ["pull:orders"] |
#Параметры запроса
| Поле | Значение |
|---|
| 0.in | "query" |
| 0.name | "cursor" |
| 0.required | false |
| 0.schema | 0.schema |
| 1.in | "query" |
| 1.name | "limit" |
| 1.required | false |
| 1.schema | 1.schema |
| 2.in | "query" |
| 2.name | "sort" |
| 2.required | false |
| 2.schema | 2.schema |
| 3.in | "query" |
| 3.name | "include" |
| 3.required | false |
| 3.schema | 3.schema |
| 4.description | "Orders of the customer with this user id, resolved through the authenticated tenant. A comma-separated list of at most 100 user ids is accepted too." |
| 4.in | "query" |
| 4.name | "user_id" |
| 4.required | false |
| 4.schema | 4.schema |
| 5.description | "Only paid (true) or only unpaid (false) orders. Any other value is rejected as INVALID_FILTER." |
| 5.in | "query" |
| 5.name | "is_paid" |
| 5.required | false |
| 5.schema | 5.schema |
#Тело запроса
| Поле | Значение |
|---|
| Тело запроса | null |
#Ответы
| Поле | Значение |
|---|
| 200.content.application/json.schema | OrderPullList |
| 200.description | "List external orders" |
#Ошибки
| Поле | Значение |
|---|
| 400.content.application/problem+json.schema | ProblemDetails |
| 400.description | "INVALID_FILTER rejects unknown fields or invalid id bounds; INVALID_CURSOR rejects format, expiry, filter or tenant mismatch" |
| 401.content.application/problem+json.schema | ProblemDetails |
| 401.description | "Missing, invalid, expired or revoked authentication" |
| 403.content.application/problem+json.schema | ProblemDetails |
| 403.description | "Required scope, plan or resource policy refused the caller" |
#Дополнительные условия
| Поле | Значение |
|---|
| operationId | "listOrders" |
| tags | ["orders"] |
| x-idempotency | "none" |