---
metadata:
  - name: generator
    content: Diplodoc Platform v5.57.3
alternate:
  - https://yandex.ru/support/picker-app/en/ref/OpenRobotHatch.md
  - https://yandex.ru/support/picker-app/hy/ref/OpenRobotHatch.md
  - https://yandex.ru/support/picker-app/ru/ref/OpenRobotHatch.md
  - href: https://yandex.ru/support/picker-app/ru/ref/OpenRobotHatch.md
    type: text/markdown
    title: Markdown version
  - href: https://yandex.ru/support/picker-app/ru/llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/support/picker-app/ru/llms.txt

<div class="openapi">

# Открытие крышки робота-курьера

<!-- markdownlint-disable-file -->

Метод позволяет Партнёру отправлять Яндекс Еде запрос на открытие крышки робота-курьера. 

{% note alert %}

Перед разработкой данного метода требуется согласование с вашим менеджером.

{% endnote %}


## Request

<div class="openapi__requests">

<div class="openapi__request__wrapper" style="--method: var(--dc-openapi-methods-post);margin-bottom: 12px">

<div class="openapi__request">

POST {.openapi__method}
```text translate=no
/partner-integration/v1/orders/v1/open-robot-hatch
```

</div>

</div>

</div>

### Headers

#|
|| **Name** | **Description** ||
||

_Authorization_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Токен, сформированный на стороне Яндекс Еды.

_Example:_{.json-schema-reset .json-schema-example} ``
{.table-cell}
||
||

_Partner-Name_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Имя Партнёра.

_Example:_{.json-schema-reset .json-schema-example} ``
{.table-cell}
||
|#{.json-schema-properties}

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "order_id": "03d3b69b-331c-4f84-b2c4-888b30320e63"
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_order_id_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: [OrderId](#entity-OrderId)

Идентификатор заказа в системе Партнёра. Формат свободный. Рекомендуется UUID4.

_Example:_{.json-schema-reset .json-schema-example} `03d3b69b-331c-4f84-b2c4-888b30320e63`
{.table-cell}
||
|#{.json-schema-properties}

</div>

<div class="openapi-entity">

### OrderId {#entity-OrderId}

Идентификатор заказа в системе Партнёра. Формат свободный. Рекомендуется UUID4.

**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `03d3b69b-331c-4f84-b2c4-888b30320e63`

</div>

## Responses

<div class="openapi__response__code__200">

## 200 OK

Успешное открытие крышки.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{}
```

{% endcut %}

#|
|| **Name** | **Description** ||
|#{.json-schema-properties}

</div>

</div>

<div class="openapi__response__code__400">

## 400 Bad Request

Ошибка запроса.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "message": "example",
  "code": 0,
  "details": {}
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_code_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: integer

Код ошибки.
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Сообщение об ошибке.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_details_{.json-schema-reset .json-schema-property}
{.table-cell}|
{% cut "**Type**: object" %}

#|
|#{.json-schema-properties}

{% endcut %}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{}
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

<div class="openapi__response__code__401">

## 401 Unauthorized

Ошибка авторизации.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "message": "example",
  "code": 0,
  "details": {}
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_code_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: integer

Код ошибки.
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Сообщение об ошибке.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_details_{.json-schema-reset .json-schema-property}
{.table-cell}|
{% cut "**Type**: object" %}

#|
|#{.json-schema-properties}

{% endcut %}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{}
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

<div class="openapi__response__code__404">

## 404 Not Found

Заказ не найден.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "message": "example",
  "code": 0,
  "details": {}
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_code_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: integer

Код ошибки.
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Сообщение об ошибке.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_details_{.json-schema-reset .json-schema-property}
{.table-cell}|
{% cut "**Type**: object" %}

#|
|#{.json-schema-properties}

{% endcut %}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{}
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

<div class="openapi__response__code__429">

## 429 Too Many Requests

Слишком много запросов.

### Body

application/json

**Type:** string

</div>

<div class="openapi__response__code__500">

## 500 Internal Server Error

Ошибка сервера.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "message": "example",
  "code": 0,
  "details": {}
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_code_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: integer

Код ошибки.
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Сообщение об ошибке.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_details_{.json-schema-reset .json-schema-property}
{.table-cell}|
{% cut "**Type**: object" %}

#|
|#{.json-schema-properties}

{% endcut %}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{}
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

</div>

[*Deprecated]: No longer supported, please use an alternative and newer version.