---
metadata:
  - name: generator
    content: Diplodoc Platform v5.48.2
alternate:
  - https://yandex.com/dev/eda-vendor/doc/ru/ref/Zakazy/partner.order.update.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/eda-vendor/doc/ru/llms.txt

<div class="openapi">

# Обновить заказ в системе ресторана

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

Обновление состава заказа в системе партнера по инициативе Яндекс Еды. Для использования данного метода требуется согласование с сотрудниками Яндекса. Передается объект заказа целиком. Актуальная версия модели запроса - application/vnd.eats.order.v2+json

## Request

<div class="openapi__requests">

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

<div class="openapi__request">

PUT {.openapi__method}
```text translate=no
/order/{orderId}
```

</div>

</div>

</div>

### Path parameters

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

_orderId_{.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/vnd.eats.order.v2+json" %}

```json translate=no
{
  "platform": "YE",
  "discriminator": "marketplace",
  "eatsId": "190330-12345678",
  "restaurantId": "937c57f6-4508-4858-be7f-20691a16fbb0",
  "deliveryInfo": {
    "clientName": "Иванов Иван Иванович",
    "phoneNumber": "+79031111111 доб. 4432",
    "additionalPhoneNumbers": [
      null
    ],
    "deliveryDate": "1937-01-01T12:00:27.870000+00:20",
    "deliveryAddress": {
      "full": "Москва, улица Тверская, дом 1 строение 4, подъезд 2. 4-й этаж, код домофона: 123 К 4567",
      "latitude": "55.756994",
      "longitude": "37.614006"
    }
  },
  "paymentInfo": {
    "paymentType": "CARD",
    "itemsCost": 100,
    "deliveryFee": 100,
    "total": 200,
    "change": 500
  },
  "items": [
    {
      "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
      "name": "Пицца Пепперони",
      "quantity": 3.5,
      "price": 100,
      "modifications": [
        {}
      ],
      "promos": [
        {}
      ],
      "comboInfo": {
        "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
        "componentId": "937c57f6-4508-4858-be7f-20691a16fbb0"
      }
    }
  ],
  "persons": 2,
  "comment": "Дополнительная информация о заказе: ...",
  "promos": [
    null
  ]
}
```

{% endcut %}

{% cut "**One of 3 types**" %}{.json-schema-combinators data-marker=or}

- **Type**: [MarketplaceOrderV2](#entity-MarketplaceOrderV2)

  Актуальная версия модели заказа по схеме доставки "marketplace"

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

  ```json translate=no
  {
    "platform": "YE",
    "discriminator": "marketplace",
    "eatsId": "190330-12345678",
    "restaurantId": "937c57f6-4508-4858-be7f-20691a16fbb0",
    "deliveryInfo": {
      "clientName": "Иванов Иван Иванович",
      "phoneNumber": "+79031111111 доб. 4432",
      "additionalPhoneNumbers": [
        null
      ],
      "deliveryDate": "1937-01-01T12:00:27.870000+00:20",
      "deliveryAddress": {
        "full": "Москва, улица Тверская, дом 1 строение 4, подъезд 2. 4-й этаж, код домофона: 123 К 4567",
        "latitude": "55.756994",
        "longitude": "37.614006"
      }
    },
    "paymentInfo": {
      "paymentType": "CARD",
      "itemsCost": 100,
      "deliveryFee": 100,
      "total": 200,
      "change": 500
    },
    "items": [
      {
        "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
        "name": "Пицца Пепперони",
        "quantity": 3.5,
        "price": 100,
        "modifications": [
          {
            "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
            "group_id": "937c57f6-4508-4858-be7f-20691a16fbb1",
            "name": "Европейские приборы",
            "quantity": 3,
            "price": 100
          }
        ],
        "promos": [
          {
            "type": "GIFT",
            "discount": 200,
            "partner_discount": 100,
            "yandex_discount": 100
          }
        ],
        "comboInfo": {
          "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
          "componentId": "937c57f6-4508-4858-be7f-20691a16fbb0"
        }
      }
    ],
    "persons": 2,
    "comment": "Дополнительная информация о заказе: ...",
    "promos": [
      null
    ]
  }
  ```

  {% endcut %}

- **Type**: [YandexOrderV2](#entity-YandexOrderV2)

  Актуальная версия модели заказа по схеме доставки "yandex".

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

  ```json translate=no
  {
    "platform": "YE",
    "discriminator": "yandex",
    "eatsId": "190330-12345678",
    "restaurantId": "937c57f6-4508-4858-be7f-20691a16fbb0",
    "deliveryInfo": {
      "clientName": "Иванов Иван Иванович",
      "phoneNumber": "+79031111111 доб. 4432",
      "additionalPhoneNumbers": [
        null
      ],
      "courierArrivementDate": "1937-01-01T12:00:27.870000+00:20",
      "realPhoneNumber": "79031111111",
      "pickupCode": "123",
      "batches": [
        "240425-1548210",
        "240425-1548211"
      ]
    },
    "paymentInfo": {
      "itemsCost": 100,
      "paymentType": "CARD"
    },
    "items": [
      {
        "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
        "name": "Пицца Пепперони",
        "quantity": 3.5,
        "price": 100,
        "modifications": [
          {
            "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
            "group_id": "937c57f6-4508-4858-be7f-20691a16fbb1",
            "name": "Европейские приборы",
            "quantity": 3,
            "price": 100
          }
        ],
        "promos": [
          {
            "type": "GIFT",
            "discount": 200,
            "partner_discount": 100,
            "yandex_discount": 100
          }
        ],
        "comboInfo": {
          "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
          "componentId": "937c57f6-4508-4858-be7f-20691a16fbb0"
        }
      }
    ],
    "persons": 2,
    "comment": "Дополнительная информация о заказе: ...",
    "promos": [
      {}
    ]
  }
  ```

  {% endcut %}

- **Type**: [PickupOrderV1](#entity-PickupOrderV1)

  Актуальная версия модели заказа по схеме доставки "pickup"

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

  ```json translate=no
  {
    "platform": "YE",
    "discriminator": "pickup",
    "eatsId": "190330-123456",
    "restaurantId": "937c57f6-4508-4858-be7f-20691a16fbb0",
    "deliveryInfo": {
      "clientName": "Иванов Иван Иванович",
      "phoneNumber": "+79031111111 доб. 4432",
      "additionalPhoneNumbers": [
        null
      ],
      "clientArrivementDate": "1937-01-01T12:00:27.870000+00:20"
    },
    "paymentInfo": {
      "paymentType": "CARD",
      "itemsCost": 100,
      "total": 200,
      "change": 500
    },
    "items": [
      {
        "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
        "name": "Пицца Пепперони",
        "quantity": 3.5,
        "price": 100,
        "modifications": [
          {
            "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
            "group_id": "937c57f6-4508-4858-be7f-20691a16fbb1",
            "name": "Европейские приборы",
            "quantity": 3,
            "price": 100
          }
        ],
        "promos": [
          {
            "type": "GIFT",
            "discount": 200,
            "partner_discount": 100,
            "yandex_discount": 100
          }
        ],
        "comboInfo": {
          "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
          "componentId": "937c57f6-4508-4858-be7f-20691a16fbb0"
        }
      }
    ],
    "persons": 2,
    "comment": "Дополнительная информация о заказе: ...",
    "promos": [
      {}
    ]
  }
  ```

  {% endcut %}

{% endcut %}

</div>

<div class="openapi-entity">

### PhoneNumber {#entity-PhoneNumber}

Номер телефона для связи с клиентом в международном формате. Состоит из частей "+<код страны><номер>". Может содержать добавочный номер: "+<код страны><номер> доб. <добавочный номер>".

**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `+79031111111 доб. 4432`

</div>

<div class="openapi-entity">

### DeliveryAddress {#entity-DeliveryAddress}

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

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

Полный адрес

_Example:_{.json-schema-reset .json-schema-example} `Москва, улица Тверская, дом 1 строение 4, подъезд 2. 4-й этаж, код домофона: 123 К 4567`
{.table-cell}
||
||

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

Широта точки доставки

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

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

Долгота точки доставки

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

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

```json translate=no
{
  "full": "Москва, улица Тверская, дом 1 строение 4, подъезд 2. 4-й этаж, код домофона: 123 К 4567",
  "latitude": "55.756994",
  "longitude": "37.614006"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### MarketplaceOrderDeliveryInfo {#entity-MarketplaceOrderDeliveryInfo}

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

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

Имя клиента в сервисе Яндекс Еда

_Example:_{.json-schema-reset .json-schema-example} `Иванов Иван Иванович`
{.table-cell}
||
||

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

Информация об адресе доставки

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

```json translate=no
{
  "full": "Москва, улица Тверская, дом 1 строение 4, подъезд 2. 4-й этаж, код домофона: 123 К 4567",
  "latitude": "55.756994",
  "longitude": "37.614006"
}
```

{% endcut %}
{.table-cell}
||
||

_deliveryDate_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string&lt;date-time&gt;

Дата доставки (к которой клиент ожидает доставку заказа), в формате RFC3339 с дробной частью секунд (Y-m-d\TH:i:s.uP)

_Example:_{.json-schema-reset .json-schema-example} `1937-01-01T12:00:27.870000+00:20`
{.table-cell}
||
||

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

Номер телефона для связи с клиентом в международном формате. Состоит из частей "+<код страны><номер>". Может содержать добавочный номер: "+<код страны><номер> доб. <добавочный номер>".

_Example:_{.json-schema-reset .json-schema-example} `+79031111111 доб. 4432`
{.table-cell}
||
||

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

Список дополнительных номеров для связи с клиентом.

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

```json translate=no
[
  "+79031111111 доб. 4432"
]
```

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

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

```json translate=no
{
  "clientName": "Иванов Иван Иванович",
  "phoneNumber": "+79031111111 доб. 4432",
  "additionalPhoneNumbers": [
    null
  ],
  "deliveryDate": "1937-01-01T12:00:27.870000+00:20",
  "deliveryAddress": {
    "full": "Москва, улица Тверская, дом 1 строение 4, подъезд 2. 4-й этаж, код домофона: 123 К 4567",
    "latitude": "55.756994",
    "longitude": "37.614006"
  }
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### MarketplaceOrderPaymentInfo {#entity-MarketplaceOrderPaymentInfo}

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

_change_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: number

Сумма, с которой потребуется сдача.
{.table-cell}
||
||

_deliveryFee_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: number

Стоимость доставки
{.table-cell}
||
||

_itemsCost_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: number

Полная стоимость блюд в заказе, обычна равна сумме стоимости блюд, которые передает партнер в меню. Если в заказе есть скидка на корзину, то она учитывается и вычитается в этом поле.
{.table-cell}
||
||

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

Информация о типе оплаты. CARD – уже оплаченный заказа, CASH – неоплаченный заказ.

_Enum:_{.json-schema-reset .json-schema-value} `CARD`, `CASH`
{.table-cell}
||
||

_total_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: number

Общая стоимость заказа. То есть itemsCost + deliveryFee
{.table-cell}
||
|#{.json-schema-properties}

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

```json translate=no
{
  "paymentType": "CARD",
  "itemsCost": 100,
  "deliveryFee": 100,
  "total": 200,
  "change": 500
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### OrdersModificationItem {#entity-OrdersModificationItem}

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

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

ID модификатора в системе партнера

_Example:_{.json-schema-reset .json-schema-example} `937c57f6-4508-4858-be7f-20691a16fbb0`
{.table-cell}
||
||

_price_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: number

Цена модификатора для пункта меню (например - дополнительный соус)
{.table-cell}
||
||

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

Количество в заказе
{.table-cell}
||
||

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

ID группы в системе партнера, к которой принадлежит модификатор. Используется для однозначной идентификации модификатора при его дублировании.

_Example:_{.json-schema-reset .json-schema-example} `937c57f6-4508-4858-be7f-20691a16fbb1`
{.table-cell}
||
||

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

Наименование модификатора

_Example:_{.json-schema-reset .json-schema-example} `Европейские приборы`
{.table-cell}
||
|#{.json-schema-properties}

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

```json translate=no
{
  "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
  "group_id": "937c57f6-4508-4858-be7f-20691a16fbb1",
  "name": "Европейские приборы",
  "quantity": 3,
  "price": 100
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### OrdersPromoItem {#entity-OrdersPromoItem}

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

_discount_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: number

Сумма скидки в валюте, оплачиваемая партнёром
{.table-cell}
||
||

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

Тип акции. Может быть подарок "GIFT", процентная скидка "PERCENTAGE", софинансируемая скидка "COFINANCE", фиксированная скидка "FIXED"

_Enum:_{.json-schema-reset .json-schema-value} `GIFT`, `PERCENTAGE`, `COFINANCE`, `FIXED`
{.table-cell}
||
||

_partner_discount_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: number

Часть суммы скидки в валюте, оплачиваемая партнером
{.table-cell}
||
||

_yandex_discount_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: number

Часть суммы скидки в валюте, оплачиваемая Яндекс.Едой
{.table-cell}
||
|#{.json-schema-properties}

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

```json translate=no
{
  "type": "GIFT",
  "discount": 200,
  "partner_discount": 100,
  "yandex_discount": 100
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### OrderItemComboInfo {#entity-OrderItemComboInfo}

Информация о комбо, к которому относится данная позиция. Заполнено только для позиций, которые были выбраны в составе комбо.

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

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

ID компонента комбо, к которому относится данная позиция.

_Example:_{.json-schema-reset .json-schema-example} `937c57f6-4508-4858-be7f-20691a16fbb0`
{.table-cell}
||
||

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

ID комбо из меню, к которому относится данная позиция.

_Example:_{.json-schema-reset .json-schema-example} `937c57f6-4508-4858-be7f-20691a16fbb0`
{.table-cell}
||
|#{.json-schema-properties}

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

```json translate=no
{
  "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
  "componentId": "937c57f6-4508-4858-be7f-20691a16fbb0"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### OrdersItem {#entity-OrdersItem}

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

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

ID позиции меню в системе партнера

_Example:_{.json-schema-reset .json-schema-example} `937c57f6-4508-4858-be7f-20691a16fbb0`
{.table-cell}
||
||

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

Список выбранных модификаций. Может быть пустым, передаётся явно, для каждой отдельной позиции в заказе. При заказе двух позиций одного и того же блюда с разным набором модификаций - передаются разные позиции, с разными списками "modifications"

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

```json translate=no
[
  {
    "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
    "group_id": "937c57f6-4508-4858-be7f-20691a16fbb1",
    "name": "Европейские приборы",
    "quantity": 3,
    "price": 100
  }
]
```

{% endcut %}
{.table-cell}
||
||

_price_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: number

Стоимость одной позиции вместе со стоимостью модификаций.
{.table-cell}
||
||

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

Список акций, действующих на текущее блюдо. Если у блюда объект "promos" не пустой, значит на него действует акция в системе партнера. Если пустой – это означает, что на блюдо не действуют никакие акции

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

```json translate=no
[
  {
    "type": "GIFT",
    "discount": 200,
    "partner_discount": 100,
    "yandex_discount": 100
  }
]
```

{% endcut %}
{.table-cell}
||
||

_quantity_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: number

Количество позиции в заказе
{.table-cell}
||
||

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

Информация о комбо, к которому относится данная позиция. Заполнено только для позиций, которые были выбраны в составе комбо.

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

```json translate=no
{
  "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
  "componentId": "937c57f6-4508-4858-be7f-20691a16fbb0"
}
```

{% endcut %}
{.table-cell}
||
||

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

Наименование позиции меню

_Example:_{.json-schema-reset .json-schema-example} `Пицца Пепперони`
{.table-cell}
||
|#{.json-schema-properties}

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

```json translate=no
{
  "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
  "name": "Пицца Пепперони",
  "quantity": 3.5,
  "price": 100,
  "modifications": [
    {
      "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
      "group_id": "937c57f6-4508-4858-be7f-20691a16fbb1",
      "name": "Европейские приборы",
      "quantity": 3,
      "price": 100
    }
  ],
  "promos": [
    {
      "type": "GIFT",
      "discount": 200,
      "partner_discount": 100,
      "yandex_discount": 100
    }
  ],
  "comboInfo": {
    "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
    "componentId": "937c57f6-4508-4858-be7f-20691a16fbb0"
  }
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### MarketplaceOrderV2 {#entity-MarketplaceOrderV2}

Актуальная версия модели заказа по схеме доставки "marketplace"

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

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

Дополнительная информация о заказе

_Example:_{.json-schema-reset .json-schema-example} `Дополнительная информация о заказе: ...`
{.table-cell}
||
||

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

Информация о доставке

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

```json translate=no
{
  "clientName": "Иванов Иван Иванович",
  "phoneNumber": "+79031111111 доб. 4432",
  "additionalPhoneNumbers": [
    null
  ],
  "deliveryDate": "1937-01-01T12:00:27.870000+00:20",
  "deliveryAddress": {
    "full": "Москва, улица Тверская, дом 1 строение 4, подъезд 2. 4-й этаж, код домофона: 123 К 4567",
    "latitude": "55.756994",
    "longitude": "37.614006"
  }
}
```

{% endcut %}
{.table-cell}
||
||

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

Дискриминатор схемы обьекта. Для MarketplaceOrder равен "marketplace"

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

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

Сквозной идентификатор заказа на стороне Яндекс.Еды в формате DDDDDD-DDDDDDDD

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

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

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

```json translate=no
[
  {
    "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
    "name": "Пицца Пепперони",
    "quantity": 3.5,
    "price": 100,
    "modifications": [
      {
        "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
        "group_id": "937c57f6-4508-4858-be7f-20691a16fbb1",
        "name": "Европейские приборы",
        "quantity": 3,
        "price": 100
      }
    ],
    "promos": [
      {
        "type": "GIFT",
        "discount": 200,
        "partner_discount": 100,
        "yandex_discount": 100
      }
    ],
    "comboInfo": {
      "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
      "componentId": "937c57f6-4508-4858-be7f-20691a16fbb0"
    }
  }
]
```

{% endcut %}
{.table-cell}
||
||

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

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

```json translate=no
{
  "paymentType": "CARD",
  "itemsCost": 100,
  "deliveryFee": 100,
  "total": 200,
  "change": 500
}
```

{% endcut %}
{.table-cell}
||
||

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

Список акций, действующих на весь заказ. Если у заказа объект "promos" не пустой, значит на него действует акция в системе партнера. Если пустой – это означает, что на заказ не действуют никакие акции

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

```json translate=no
[
  {
    "type": "GIFT",
    "discount": 200,
    "partner_discount": 100,
    "yandex_discount": 100
  }
]
```

{% endcut %}
{.table-cell}
||
||

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

Внутренний идентификатор заведения в системе партнера, в которое передаётся заказ. Формат свободный, рекомендуется UUID4

_Example:_{.json-schema-reset .json-schema-example} `937c57f6-4508-4858-be7f-20691a16fbb0`
{.table-cell}
||
||

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

Количество персон, на которых оформлен заказ. Может влиять на количество комплектов приборов
{.table-cell}
||
||

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

Идентификатор платформы. YE - Yandex Eda, DC - Delivery club

_Enum:_{.json-schema-reset .json-schema-value} `YE`, `DC`
{.table-cell}
||
|#{.json-schema-properties}

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

```json translate=no
{
  "platform": "YE",
  "discriminator": "marketplace",
  "eatsId": "190330-12345678",
  "restaurantId": "937c57f6-4508-4858-be7f-20691a16fbb0",
  "deliveryInfo": {
    "clientName": "Иванов Иван Иванович",
    "phoneNumber": "+79031111111 доб. 4432",
    "additionalPhoneNumbers": [
      null
    ],
    "deliveryDate": "1937-01-01T12:00:27.870000+00:20",
    "deliveryAddress": {
      "full": "Москва, улица Тверская, дом 1 строение 4, подъезд 2. 4-й этаж, код домофона: 123 К 4567",
      "latitude": "55.756994",
      "longitude": "37.614006"
    }
  },
  "paymentInfo": {
    "paymentType": "CARD",
    "itemsCost": 100,
    "deliveryFee": 100,
    "total": 200,
    "change": 500
  },
  "items": [
    {
      "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
      "name": "Пицца Пепперони",
      "quantity": 3.5,
      "price": 100,
      "modifications": [
        {
          "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
          "group_id": "937c57f6-4508-4858-be7f-20691a16fbb1",
          "name": "Европейские приборы",
          "quantity": 3,
          "price": 100
        }
      ],
      "promos": [
        {
          "type": "GIFT",
          "discount": 200,
          "partner_discount": 100,
          "yandex_discount": 100
        }
      ],
      "comboInfo": {
        "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
        "componentId": "937c57f6-4508-4858-be7f-20691a16fbb0"
      }
    }
  ],
  "persons": 2,
  "comment": "Дополнительная информация о заказе: ...",
  "promos": [
    null
  ]
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### YandexOrderDeliveryInfo {#entity-YandexOrderDeliveryInfo}

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

_courierArrivementDate_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string&lt;date-time&gt;

Дата, когда придет курьер в ресторан, в формате RFC3339 с дробной частью секунд (Y-m-d\TH:i:s.uP).

_Example:_{.json-schema-reset .json-schema-example} `1937-01-01T12:00:27.870000+00:20`
{.table-cell}
||
||

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

Список дополнительных номеров для связи с клиентом.

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

```json translate=no
[
  "+79031111111 доб. 4432"
]
```

{% endcut %}
{.table-cell}
||
||

_batches_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string[]

Список идентификаторов заказов в системе Яндекс.Еды, входящих в один батч вместе с текущим заказом. Если заказ не входит в батч — передаётся пустой массив. Если информация о батчах пока недоступна — поле отсутствует.

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

```json translate=no
[
  "240425-1548210",
  "240425-1548211"
]
```

{% endcut %}
{.table-cell}
||
||

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

Имя клиента в сервисе Яндекс Еда

_Example:_{.json-schema-reset .json-schema-example} `Иванов Иван Иванович`
{.table-cell}
||
||

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

Номер телефона для связи с клиентом в международном формате. Состоит из частей "+<код страны><номер>". Может содержать добавочный номер: "+<код страны><номер> доб. <добавочный номер>".

_Example:_{.json-schema-reset .json-schema-example} `+79031111111 доб. 4432`
{.table-cell}
||
||

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

Код для идентификации курьера

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

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

Номер телефона для связи с клиентом в международном формате. Состоит из частей "+<код страны><номер>". Указывается в случае если клиент дает согласие на обработку своих персональных данных

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

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

```json translate=no
{
  "clientName": "Иванов Иван Иванович",
  "phoneNumber": "+79031111111 доб. 4432",
  "additionalPhoneNumbers": [
    null
  ],
  "courierArrivementDate": "1937-01-01T12:00:27.870000+00:20",
  "realPhoneNumber": "79031111111",
  "pickupCode": "123",
  "batches": [
    "240425-1548210",
    "240425-1548211"
  ]
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### YandexOrderPaymentInfo {#entity-YandexOrderPaymentInfo}

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

_itemsCost_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: number

Полная стоимость блюд в заказе, обычна равна сумме стоимости блюд, которые передает партнер в меню. Если в заказе есть скидка на корзину, то она учитывается и вычитается в этом поле.
{.table-cell}
||
||

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

Информация о типе оплаты. CARD – оплаченный заказа, CASH – неоплаченный заказ.

_Enum:_{.json-schema-reset .json-schema-value} `CARD`, `CASH`
{.table-cell}
||
|#{.json-schema-properties}

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

```json translate=no
{
  "itemsCost": 100,
  "paymentType": "CARD"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### YandexOrderV2 {#entity-YandexOrderV2}

Актуальная версия модели заказа по схеме доставки "yandex".

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

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

Дополнительная информация о заказе

_Example:_{.json-schema-reset .json-schema-example} `Дополнительная информация о заказе: ...`
{.table-cell}
||
||

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

Информация о доставке.

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

```json translate=no
{
  "clientName": "Иванов Иван Иванович",
  "phoneNumber": "+79031111111 доб. 4432",
  "additionalPhoneNumbers": [
    null
  ],
  "courierArrivementDate": "1937-01-01T12:00:27.870000+00:20",
  "realPhoneNumber": "79031111111",
  "pickupCode": "123",
  "batches": [
    "240425-1548210",
    "240425-1548211"
  ]
}
```

{% endcut %}
{.table-cell}
||
||

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

Дискриминатор схемы обьекта. Для YandexOrder равен "yandex".

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

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

Сквозной идентификатор заказа на стороне Яндекс.Еды в формате DDDDDD-DDDDDDDD.

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

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

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

```json translate=no
[
  {
    "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
    "name": "Пицца Пепперони",
    "quantity": 3.5,
    "price": 100,
    "modifications": [
      {
        "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
        "group_id": "937c57f6-4508-4858-be7f-20691a16fbb1",
        "name": "Европейские приборы",
        "quantity": 3,
        "price": 100
      }
    ],
    "promos": [
      {
        "type": "GIFT",
        "discount": 200,
        "partner_discount": 100,
        "yandex_discount": 100
      }
    ],
    "comboInfo": {
      "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
      "componentId": "937c57f6-4508-4858-be7f-20691a16fbb0"
    }
  }
]
```

{% endcut %}
{.table-cell}
||
||

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

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

```json translate=no
{
  "itemsCost": 100,
  "paymentType": "CARD"
}
```

{% endcut %}
{.table-cell}
||
||

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

Список акций, действующих на весь заказ. Если у заказа объект "promos" не пустой, значит на него действует акция в системе партнера. Если пустой – это означает, что на заказ не действуют никакие акции

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

```json translate=no
[
  {
    "type": "GIFT",
    "discount": 200,
    "partner_discount": 100,
    "yandex_discount": 100
  }
]
```

{% endcut %}
{.table-cell}
||
||

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

Внутренний идентификатор заведения в системе партнера, в которое передаётся заказ. Формат свободный, рекомендуется UUID4.

_Example:_{.json-schema-reset .json-schema-example} `937c57f6-4508-4858-be7f-20691a16fbb0`
{.table-cell}
||
||

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

Количество персон, на которых оформлен заказ. Может влиять на количество комплектов приборов
{.table-cell}
||
||

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

Идентификатор платформы:
* YE – Yandex Eda.
* DC – Delivery club.


_Enum:_{.json-schema-reset .json-schema-value} `YE`, `DC`
{.table-cell}
||
|#{.json-schema-properties}

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

```json translate=no
{
  "platform": "YE",
  "discriminator": "yandex",
  "eatsId": "190330-12345678",
  "restaurantId": "937c57f6-4508-4858-be7f-20691a16fbb0",
  "deliveryInfo": {
    "clientName": "Иванов Иван Иванович",
    "phoneNumber": "+79031111111 доб. 4432",
    "additionalPhoneNumbers": [
      null
    ],
    "courierArrivementDate": "1937-01-01T12:00:27.870000+00:20",
    "realPhoneNumber": "79031111111",
    "pickupCode": "123",
    "batches": [
      "240425-1548210",
      "240425-1548211"
    ]
  },
  "paymentInfo": {
    "itemsCost": 100,
    "paymentType": "CARD"
  },
  "items": [
    {
      "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
      "name": "Пицца Пепперони",
      "quantity": 3.5,
      "price": 100,
      "modifications": [
        {
          "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
          "group_id": "937c57f6-4508-4858-be7f-20691a16fbb1",
          "name": "Европейские приборы",
          "quantity": 3,
          "price": 100
        }
      ],
      "promos": [
        {
          "type": "GIFT",
          "discount": 200,
          "partner_discount": 100,
          "yandex_discount": 100
        }
      ],
      "comboInfo": {
        "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
        "componentId": "937c57f6-4508-4858-be7f-20691a16fbb0"
      }
    }
  ],
  "persons": 2,
  "comment": "Дополнительная информация о заказе: ...",
  "promos": [
    {}
  ]
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### PickupOrderDeliveryInfo {#entity-PickupOrderDeliveryInfo}

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

_clientArrivementDate_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string&lt;date-time&gt;

Дата, когда придет клиент в ресторан, в формате RFC3339 с дробной частью секунд (Y-m-d\TH:i:s.uP)

_Example:_{.json-schema-reset .json-schema-example} `1937-01-01T12:00:27.870000+00:20`
{.table-cell}
||
||

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

Имя клиента в сервисе Яндекс Еда

_Example:_{.json-schema-reset .json-schema-example} `Иванов Иван Иванович`
{.table-cell}
||
||

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

Номер телефона для связи с клиентом в международном формате. Состоит из частей "+<код страны><номер>". Может содержать добавочный номер: "+<код страны><номер> доб. <добавочный номер>".

_Example:_{.json-schema-reset .json-schema-example} `+79031111111 доб. 4432`
{.table-cell}
||
||

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

Список дополнительных номеров для связи с клиентом.

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

```json translate=no
[
  "+79031111111 доб. 4432"
]
```

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

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

```json translate=no
{
  "clientName": "Иванов Иван Иванович",
  "phoneNumber": "+79031111111 доб. 4432",
  "additionalPhoneNumbers": [
    null
  ],
  "clientArrivementDate": "1937-01-01T12:00:27.870000+00:20"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### PickupOrderPaymentInfo {#entity-PickupOrderPaymentInfo}

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

_change_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: number

Сумма, с которой потребуется сдача.
{.table-cell}
||
||

_itemsCost_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: number

Полная стоимость блюд в заказе, обычна равна сумме стоимости блюд, которые передает партнер в меню. Если в заказе есть скидка на корзину, то она учитывается и вычитается в этом поле.
{.table-cell}
||
||

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

Информация о типе оплаты

_Enum:_{.json-schema-reset .json-schema-value} `CARD`, `CASH`
{.table-cell}
||
||

_total_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: number

Общая стоимость заказа
{.table-cell}
||
|#{.json-schema-properties}

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

```json translate=no
{
  "paymentType": "CARD",
  "itemsCost": 100,
  "total": 200,
  "change": 500
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### PickupOrderV1 {#entity-PickupOrderV1}

Актуальная версия модели заказа по схеме доставки "pickup"

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

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

Дополнительная информация о заказе

_Example:_{.json-schema-reset .json-schema-example} `Дополнительная информация о заказе: ...`
{.table-cell}
||
||

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

Информация о доставке

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

```json translate=no
{
  "clientName": "Иванов Иван Иванович",
  "phoneNumber": "+79031111111 доб. 4432",
  "additionalPhoneNumbers": [
    null
  ],
  "clientArrivementDate": "1937-01-01T12:00:27.870000+00:20"
}
```

{% endcut %}
{.table-cell}
||
||

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

Дискриминатор схемы обьекта. Для PickupOrder равен "pickup"

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

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

Сквозной идентификатор заказа на стороне Яндекс Еды в формате DDDDDD-DDDDDD

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

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

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

```json translate=no
[
  {
    "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
    "name": "Пицца Пепперони",
    "quantity": 3.5,
    "price": 100,
    "modifications": [
      {
        "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
        "group_id": "937c57f6-4508-4858-be7f-20691a16fbb1",
        "name": "Европейские приборы",
        "quantity": 3,
        "price": 100
      }
    ],
    "promos": [
      {
        "type": "GIFT",
        "discount": 200,
        "partner_discount": 100,
        "yandex_discount": 100
      }
    ],
    "comboInfo": {
      "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
      "componentId": "937c57f6-4508-4858-be7f-20691a16fbb0"
    }
  }
]
```

{% endcut %}
{.table-cell}
||
||

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

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

```json translate=no
{
  "paymentType": "CARD",
  "itemsCost": 100,
  "total": 200,
  "change": 500
}
```

{% endcut %}
{.table-cell}
||
||

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

Список акций, действующих на весь заказ. Если у заказа объект "promos" не пустой, значит на него действует акция в системе партнера. Если пустой – это означает, что на заказ не действуют никакие акции

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

```json translate=no
[
  {
    "type": "GIFT",
    "discount": 200,
    "partner_discount": 100,
    "yandex_discount": 100
  }
]
```

{% endcut %}
{.table-cell}
||
||

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

Внутренний идентификатор заведения в системе партнера, в которое передаётся заказ. Формат свободный, рекомендуется UUID4

_Example:_{.json-schema-reset .json-schema-example} `937c57f6-4508-4858-be7f-20691a16fbb0`
{.table-cell}
||
||

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

Количество персон, на которых оформлен заказ. Может влиять на количество комплектов приборов
{.table-cell}
||
||

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

Идентификатор платформы. YE - Yandex Eda, DC - Delivery club

_Enum:_{.json-schema-reset .json-schema-value} `YE`, `DC`
{.table-cell}
||
|#{.json-schema-properties}

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

```json translate=no
{
  "platform": "YE",
  "discriminator": "pickup",
  "eatsId": "190330-123456",
  "restaurantId": "937c57f6-4508-4858-be7f-20691a16fbb0",
  "deliveryInfo": {
    "clientName": "Иванов Иван Иванович",
    "phoneNumber": "+79031111111 доб. 4432",
    "additionalPhoneNumbers": [
      null
    ],
    "clientArrivementDate": "1937-01-01T12:00:27.870000+00:20"
  },
  "paymentInfo": {
    "paymentType": "CARD",
    "itemsCost": 100,
    "total": 200,
    "change": 500
  },
  "items": [
    {
      "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
      "name": "Пицца Пепперони",
      "quantity": 3.5,
      "price": 100,
      "modifications": [
        {
          "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
          "group_id": "937c57f6-4508-4858-be7f-20691a16fbb1",
          "name": "Европейские приборы",
          "quantity": 3,
          "price": 100
        }
      ],
      "promos": [
        {
          "type": "GIFT",
          "discount": 200,
          "partner_discount": 100,
          "yandex_discount": 100
        }
      ],
      "comboInfo": {
        "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
        "componentId": "937c57f6-4508-4858-be7f-20691a16fbb0"
      }
    }
  ],
  "persons": 2,
  "comment": "Дополнительная информация о заказе: ...",
  "promos": [
    {}
  ]
}
```

{% endcut %}

</div>

## Responses

<div class="openapi__response__code__200">

## 200 OK

Обновление заказа успешно обработано внутренней системой ресторана

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "result": "OK"
}
```

{% endcut %}

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

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

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

</div>

</div>

<div class="openapi__response__code__400">

## 400 Bad Request

Bad request. Ошибка в параметрах. **_В теле ответа ожидается массив с объектом из списка ошибок_**

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
[
  {
    "code": 100,
    "description": "Description of error"
  }
]
```

{% endcut %}

**Type**: [ErrorItem](#entity-ErrorItem)[]

</div>

<div class="openapi-entity">

### ErrorItem {#entity-ErrorItem}

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

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

Согласованный с Яндекс.Еда числовой код ошибки
{.table-cell}
||
||

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

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

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

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

```json translate=no
{
  "code": 100,
  "description": "Description of error"
}
```

{% endcut %}

</div>

</div>

<div class="openapi__response__code__401">

## 401 Unauthorized

Не пройдена авторизация - истек токен, либо не был передан в запросе. Будет сделан ретрай.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "reason": "Access token has been expired. You should request a new one"
}
```

{% endcut %}

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

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

Причина, по которой не прошла авторизация

_Example:_{.json-schema-reset .json-schema-example} `Access token has been expired. You should request a new one`
{.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
[
  {
    "code": 100,
    "description": "Description of error"
  }
]
```

{% endcut %}

**Type**: [ErrorItem](#entity-ErrorItem)[]

</div>

</div>

<div class="openapi__response__code__422">

## 422 Unprocessable Entity

Заказ не может быть обновлен

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
[
  {
    "code": 100,
    "description": "Description of error"
  }
]
```

{% endcut %}

**Type**: [ErrorItem](#entity-ErrorItem)[]

</div>

</div>

<div class="openapi__response__code__500">

## 500 Internal Server Error

Внутренние ошибки сервера. **_В теле ответа ожидается массив с объектом из списка ошибок_**

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
[
  {
    "code": 100,
    "description": "Description of error"
  }
]
```

{% endcut %}

**Type**: [ErrorItem](#entity-ErrorItem)[]

</div>

</div>

</div>

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