# getOrder

Source: <https://telegafirst.com/docs/api-op-getorder>
Locale: ru
releaseGitSha: ea133cd4ad87fe549ef000b139be145be9bd1717
sourceContentDigest: 23cc61259e80905823d8614624abb99d73892874e07336ac27e47b4fca94089b
Version: 2

# getOrder

`GET /api/v1/orders/{id}`

getOrder

## Авторизация и права

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.description | "Tenant Order sequence serialized as canonical decimal digits; no leading zero, sign, exponent or fractional form." |
| 0.in | "path" |
| 0.name | "id" |
| 0.required | true |
| 0.schema | [0.schema](https://telegafirst.com/docs/schema-c5757a1a891d93cfde216dc3d3b478c02318137cf2324397cfc1d76af586222e) |
| 1.in | "query" |
| 1.name | "include" |
| 1.required | false |
| 1.schema | [1.schema](https://telegafirst.com/docs/schema-00404e686415370f1711c4d7acfa2905444d3cf23cef2e10c47d445ebe690f96) |

## Тело запроса

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

## Ответы

| Поле | Значение |
| - | - |
| 200.content.application/json.schema | [OrderPullDetail](https://telegafirst.com/docs/schema-fe9079bf460cb517c3bd8809134bd3a83ee6952e12183785ba063612a24cdb53) |
| 200.description | "Get external order" |

## Ошибки

| Поле | Значение |
| - | - |
| 401.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-c4113f3de00d728702a8663612e2074cbe3e8b3bb70d2b0dee6f3503fe89bd41) |
| 401.description | "Missing, invalid, expired or revoked authentication" |
| 403.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-c4113f3de00d728702a8663612e2074cbe3e8b3bb70d2b0dee6f3503fe89bd41) |
| 403.description | "Required scope, plan or resource policy refused the caller" |
| 404.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-c4113f3de00d728702a8663612e2074cbe3e8b3bb70d2b0dee6f3503fe89bd41) |
| 404.description | "The tenant Order sequence is invalid or no Order exists for this authenticated tenant" |

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

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