Документация / Как начать / Работа с MCP / Идентификаторы и страницы результатов / REST: orders / createOrder Для AI-агентов: markdown этой страницы — /docs/api-op-createorder.md · индекс документации — /llms.txt
createOrder Обновлено 20 ноября 2026 г.
POST /api/v1/orders
createOrder
# Авторизация и права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 ["orders"]
# Параметры запросаПоле Значение 0.description "Required for nonempty POST bodies; optional for an empty refresh body." 0.in "header" 0.name "Idempotency-Key" 0.required true 0.schema 0.schema
# Тело запроса# ОтветыПоле Значение 201.content.application/json.schema CreateOrderResponse 201.description "Create external order"
# ОшибкиПоле Значение 400.content.application/problem+json.schema ProblemDetails 400.description "The accepted pricing quote is malformed, forged, or bound to a different tenant, subject, surface, zone, or basket" 401.content.application/problem+json.schema ProblemDetails 401.description "Missing or invalid authentication" 403.content.application/problem+json.schema ProblemDetails 403.description "The caller lacks the orders scope or tenant access" 404.content.application/problem+json.schema ProblemDetails 404.description "A product or requested user was not found for this tenant" 409.content.application/problem+json.schema 409.content.application/problem+json.schema 409.description "The accepted quote is stale. `details.fresh_quote` contains the sole new six-field signed quote; retry with a new Idempotency-Key." 422.content.application/problem+json.schema ProblemDetails 422.description "The basket is invalid — its lines resolve to more than one currency (MIXED_CURRENCY), share no payment provider (NO_COMMON_PAYMENT_PROVIDER) or carry different partner rates (MIXED_PARTNER_RATES)" 428.content.application/problem+json.schema ProblemDetails 428.description "An accepted six-field pricing quote is required"
# Дополнительные условияПоле Значение operationId "createOrder" tags ["orders"] x-idempotency "http-cache"