К содержанию
TelegaFirst

Для 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.requiredfalse
0.schema0.schema
1.in"query"
1.name"limit"
1.requiredfalse
1.schema1.schema
2.in"query"
2.name"sort"
2.requiredfalse
2.schema2.schema
3.in"query"
3.name"include"
3.requiredfalse
3.schema3.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.requiredfalse
4.schema4.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.requiredfalse
5.schema5.schema

Тело запроса

ПолеЗначение
Тело запросаnull

Ответы

ПолеЗначение
200.content.application/json.schemaOrderPullList
200.description"List external orders"

Ошибки

ПолеЗначение
400.content.application/problem+json.schemaProblemDetails
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.schemaProblemDetails
401.description"Missing, invalid, expired or revoked authentication"
403.content.application/problem+json.schemaProblemDetails
403.description"Required scope, plan or resource policy refused the caller"

Дополнительные условия

ПолеЗначение
operationId"listOrders"
tags["orders"]
x-idempotency"none"