# getOrder

Source: <https://telegafirst.com/docs/api-op-getorder>
Locale: ru
releaseGitSha: 0bb11ef116e17ec64c802d5476eaff442e53d252
sourceContentDigest: 9cab268b4e51f5a3cafe68642e35ff6fb7957cf0a768672e28a203a355a41c9a
Version: 8

# 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" |
| 200.headers.ETag.description | "The order version (Hub weak ETag); send it as If-Match to change the composition." |
| 200.headers.ETag.required | true |
| 200.headers.ETag.schema | [200.headers.ETag.schema](https://telegafirst.com/docs/schema-a954616bd4d96f5e4df469689bdaa25afb7e6c2df94f42ec0a579fda61a89ca3) |

## Ошибки

| Поле | Значение |
| - | - |
| 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" |
