---
metadata:
  - name: generator
    content: Diplodoc Platform v5.57.3
alternate:
  - https://yandex.ru/support/picker-app/en/ref/partner.order.create.md
  - https://yandex.ru/support/picker-app/hy/ref/partner.order.create.md
  - https://yandex.ru/support/picker-app/ru/ref/partner.order.create.md
  - href: https://yandex.ru/support/picker-app/ru/ref/partner.order.create.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 -->

Метод позволяет Яндекс Еде создать заказ в системе Партнёра.

Если в теле запроса указан товар, которого нет в наличии, ожидается, что метод вернёт успешный HTTP‑ответ (200 OK).
При этом в последующем вызове метода получения информации о заказе данный товар должен быть исключён либо заменён на доступный аналог

  * `YandexOrder` – схема заказа при доставке курьерами-партнерами сервиса Яндекс Еды.
  * `MarketplaceOrder` – схема заказа при доставке курьерами Партнера.
  * `PickupOrder` – схема заказа при самовывозе.

  Актуальная версия модели запроса – application/vnd.eats.order.v2+json.

{% note info %}

Заголовок Content-type в запросе и ответе отличаются.

{% 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
/order
```

</div>

</div>

</div>

### Headers

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

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

Токен, полученный в ответе на запрос `/security/oauth/token`

_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
{
  "promos": [
    {
      "type": "PERCENTAGE",
      "discount": 100
    }
  ],
  "brand": "example",
  "comment": "Код курьера: 4563. Дополнительная информация о заказе...",
  "deliveryInfo": {
    "clientName": "Иванов Иван Иванович",
    "courierArrivementDate": "2024-01-01T00:00:27.870000+00:20",
    "isSlotDelivery": true,
    "phoneNumber": "+74732006745 доб. 12099",
    "realPhoneNumber": "79998887766",
    "deliveryAddress": {
      "city": "Москва",
      "entrance": "6",
      "flat": "234",
      "floor": "12",
      "full": "Москва, улица Тверская, дом 1 строение 4, подъезд 2. 4-й этаж, код домофона: 123 К 4567",
      "house": "4к1",
      "intercom": "234",
      "latitude": "55.756994",
      "longitude": "37.614006",
      "region": "Видное",
      "street": "улица Викторенко"
    }
  },
  "discriminator": "yandex",
  "eatsId": "230130-1234567",
  "items": [
    {
      "id": "some-uniq-identifier",
      "name": "Молоко Домик в деревне",
      "originPrice": 70,
      "price": 84,
      "quantity": 3.4
    }
  ],
  "paymentInfo": {
    "itemsCost": 1570,
    "paymentType": "CARD"
  },
  "platform": "YE",
  "restaurantId": "937c57f6-4508-4858-be7f-20691a16fbb0"
}
```

{% endcut %}

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

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

  Информация о заказе с доставкой курьерами-партнерами сервиса Яндекс Еды — "yandex".

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

  ```json translate=no
  {
    "promos": [
      {
        "type": "PERCENTAGE",
        "discount": 100
      }
    ],
    "brand": "example",
    "comment": "Код курьера: 4563. Дополнительная информация о заказе...",
    "deliveryInfo": {
      "clientName": "Иванов Иван Иванович",
      "courierArrivementDate": "2024-01-01T00:00:27.870000+00:20",
      "isSlotDelivery": true,
      "phoneNumber": "+74732006745 доб. 12099",
      "realPhoneNumber": "79998887766",
      "deliveryAddress": {
        "city": "Москва",
        "entrance": "6",
        "flat": "234",
        "floor": "12",
        "full": "Москва, улица Тверская, дом 1 строение 4, подъезд 2. 4-й этаж, код домофона: 123 К 4567",
        "house": "4к1",
        "intercom": "234",
        "latitude": "55.756994",
        "longitude": "37.614006",
        "region": "Видное",
        "street": "улица Викторенко"
      }
    },
    "discriminator": "yandex",
    "eatsId": "230130-1234567",
    "items": [
      {
        "id": "some-uniq-identifier",
        "name": "Молоко Домик в деревне",
        "originPrice": 70,
        "price": 84,
        "quantity": 3.4
      }
    ],
    "paymentInfo": {
      "itemsCost": 1570,
      "paymentType": "CARD"
    },
    "platform": "YE",
    "restaurantId": "937c57f6-4508-4858-be7f-20691a16fbb0"
  }
  ```

  {% endcut %}

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

  Информация о заказе с доставкой курьерами Партнера -  "marketplace".

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

  ```json translate=no
  {
    "promos": [
      {
        "type": "PERCENTAGE",
        "discount": 100
      }
    ],
    "platform": "YE",
    "discriminator": "marketplace",
    "eatsId": "230130-1234567",
    "items": [
      {
        "id": "some-uniq-identifier",
        "name": "Молоко Домик в деревне",
        "originPrice": 70,
        "price": 84,
        "quantity": 3.4
      }
    ],
    "restaurantId": "937c57f6-4508-4858-be7f-20691a16fbb0",
    "deliveryInfo": {
      "clientName": "Иванов Иван Иванович",
      "deliveryAddress": {
        "city": "Москва",
        "entrance": "6",
        "flat": "234",
        "floor": "12",
        "full": "Москва, улица Тверская, дом 1 строение 4, подъезд 2. 4-й этаж, код домофона: 123 К 4567",
        "house": "4к1",
        "intercom": "234",
        "latitude": "55.756994",
        "longitude": "37.614006",
        "region": "Видное",
        "street": "улица Викторенко"
      },
      "deliveryDate": "1970-01-01T00:00:27.870000+00:20",
      "deliverySlot": {
        "from": "1970-01-01T00:00:27.870000+00:20",
        "slotId": "example",
        "to": "1970-01-01T00:00:27.870000+00:20"
      },
      "phoneNumber": "+74732006745 доб. 12099",
      "realPhoneNumber": "79998887766"
    },
    "paymentInfo": {
      "itemsCost": 1570,
      "paymentType": "CARD",
      "change": 0,
      "deliveryFee": 179,
      "total": 1749
    },
    "comment": "Дополнительная информация о заказе...",
    "brand": "example"
  }
  ```

  {% endcut %}

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

  Информация о заказе с самовывозом - "pickup".

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

  ```json translate=no
  {
    "promos": [
      {
        "type": "PERCENTAGE",
        "discount": 100
      }
    ],
    "brand": "example",
    "comment": "Дополнительная информация о заказе...",
    "deliveryInfo": {
      "clientArrivementDate": "2024-01-01T00:00:27.870000+00:20",
      "clientName": "Иванов Иван Иванович",
      "phoneNumber": "+74732006745 доб. 12099",
      "realPhoneNumber": "79998887766"
    },
    "discriminator": "pickup",
    "eatsId": "230130-1234567",
    "items": [
      {
        "id": "some-uniq-identifier",
        "name": "Молоко Домик в деревне",
        "originPrice": 70,
        "price": 84,
        "quantity": 3.4
      }
    ],
    "paymentInfo": {
      "itemsCost": 1570,
      "paymentType": "CARD",
      "change": 0,
      "total": 1749
    },
    "platform": "YE",
    "restaurantId": "937c57f6-4508-4858-be7f-20691a16fbb0",
    "pickupPointId": "some-thing-id"
  }
  ```

  {% endcut %}

{% endcut %}

</div>

<div class="openapi-entity">

### Promo {#entity-Promo}

Скидка

#|
|| **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

Тип скидки. PERCENTAGE - процентная скидка. Список типов скидок может быть расширен в будущем

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

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

```json translate=no
{
  "type": "PERCENTAGE",
  "discount": 100
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### OrderPromos {#entity-OrderPromos}

Список скидок в заказе. В данный момент передаются только процентные скидки на товары от партнёра

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

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

```json translate=no
[
  {
    "type": "PERCENTAGE",
    "discount": 100
  }
]
```

{% endcut %}

</div>

<div class="openapi-entity">

### Brand {#entity-Brand}

Бренд

**Type**: string

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

</div>

<div class="openapi-entity">

### YandexOrderComment {#entity-YandexOrderComment}

Передается код курьера и дополнительная информация о заказе.

**Type**: string

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

</div>

<div class="openapi-entity">

### ClientName {#entity-ClientName}

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

**Type**: string

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

</div>

<div class="openapi-entity">

### CourierArrivementDate {#entity-CourierArrivementDate}

Ориентировочная дата и время прибытия курьера в торговую точку.
В формате RFC3339 с дробной частью секунд: `Y-m-dTH:i:s.uP`.


**Type**: string&lt;date-time&gt;

_Example:_{.json-schema-reset .json-schema-example} `2024-01-01T00:00:27.870000+00:20`

</div>

<div class="openapi-entity">

### PhoneNumber {#entity-PhoneNumber}

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

**Type**: string

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

</div>

<div class="openapi-entity">

### RealPhoneNumber {#entity-RealPhoneNumber}

Номер телефона клиента без маскировки, передаётся с согласия пользователя на передачу данных и привязку карты лояльности. Требует поддержки только при интеграции программы лояльности партнёра в Яндекс Еде.

**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `79998887766`

</div>

<div class="openapi-entity">

### DeliveryAddressFull {#entity-DeliveryAddressFull}

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

#|
|| **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}
||
||

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

Город

_Example:_{.json-schema-reset .json-schema-example} `Москва`
{.table-cell}
||
||

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

Подъезд

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

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

Квартира

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

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

Этаж

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

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

Дом

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

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

Домофон

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

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

Регион

_Example:_{.json-schema-reset .json-schema-example} `Видное`
{.table-cell}
||
||

_street_{.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
{
  "city": "Москва",
  "entrance": "6",
  "flat": "234",
  "floor": "12",
  "full": "Москва, улица Тверская, дом 1 строение 4, подъезд 2. 4-й этаж, код домофона: 123 К 4567",
  "house": "4к1",
  "intercom": "234",
  "latitude": "55.756994",
  "longitude": "37.614006",
  "region": "Видное",
  "street": "улица Викторенко"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### YandexDeliveryInfo {#entity-YandexDeliveryInfo}

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

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

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

Ориентировочная дата и время прибытия курьера в торговую точку.
В формате RFC3339 с дробной частью секунд: `Y-m-dTH:i:s.uP`.


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

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

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

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

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

Адрес доставки. Передаётся только аптечным
партнёрам. Используется для ведения журнала регистрации выполненных
заказов на стороне партнёра.


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

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

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

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

_isSlotDelivery_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean

Заказ со слотовой доставкой (доставка ко времени).
{.table-cell}
||
||

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

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

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

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

Номер телефона клиента без маскировки, передаётся с согласия пользователя на передачу данных и привязку карты лояльности. Требует поддержки только при интеграции программы лояльности партнёра в Яндекс Еде.

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

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

```json translate=no
{
  "clientName": "Иванов Иван Иванович",
  "courierArrivementDate": "2024-01-01T00:00:27.870000+00:20",
  "isSlotDelivery": true,
  "phoneNumber": "+74732006745 доб. 12099",
  "realPhoneNumber": "79998887766",
  "deliveryAddress": {
    "city": "Москва",
    "entrance": "6",
    "flat": "234",
    "floor": "12",
    "full": "Москва, улица Тверская, дом 1 строение 4, подъезд 2. 4-й этаж, код домофона: 123 К 4567",
    "house": "4к1",
    "intercom": "234",
    "latitude": "55.756994",
    "longitude": "37.614006",
    "region": "Видное",
    "street": "улица Викторенко"
  }
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### YandexOrderDiscriminator {#entity-YandexOrderDiscriminator}

Дискриминатор схемы. Для заказов с доставкой курьерами-партнерами сервиса Яндекс Еды равен "yandex".

**Type**: string

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

</div>

<div class="openapi-entity">

### EatsId {#entity-EatsId}

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

**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `230130-1234567`

</div>

<div class="openapi-entity">

### ProductId {#entity-ProductId}

Уникальный идентификатор товара в системе Партнёра

**Type**: string

_Max length:_{.json-schema-reset .json-schema-assertion} `64`

_Example:_{.json-schema-reset .json-schema-example} `some-uniq-identifier`

</div>

<div class="openapi-entity">

### ProductName {#entity-ProductName}

Наименование товара.

**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `Молоко Домик в деревне`

</div>

<div class="openapi-entity">

### OrderItemQuantity {#entity-OrderItemQuantity}

Количество товара в заказе. Для весовых товаров количество передается в кг.

**Type**: number

</div>

<div class="openapi-entity">

### OrderCreateItem {#entity-OrderCreateItem}

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

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

Уникальный идентификатор товара в системе Партнёра

_Max length:_{.json-schema-reset .json-schema-assertion} `64`

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

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

Цена одной единицы товара. Для весовых товаров цена передается за 1 кг.
{.table-cell}
||
||

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

Количество товара в заказе. Для весовых товаров количество передается в кг.

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

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

Наименование товара.

_Example:_{.json-schema-reset .json-schema-example} `Молоко Домик в деревне`
{.table-cell}
||
||

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

Исходная цена товара до применения рекомендаций.
{.table-cell}
||
|#{.json-schema-properties}

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

```json translate=no
{
  "id": "some-uniq-identifier",
  "name": "Молоко Домик в деревне",
  "originPrice": 70,
  "price": 84,
  "quantity": 3.4
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### OrderCreateItems {#entity-OrderCreateItems}

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

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

```json translate=no
[
  {
    "id": "some-uniq-identifier",
    "name": "Молоко Домик в деревне",
    "originPrice": 70,
    "price": 84,
    "quantity": 3.4
  }
]
```

{% 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": 1570,
  "paymentType": "CARD"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### Platform {#entity-Platform}

Идентификатор платформы, на которой был создан заказ: DC - Delivery Club, YE - Yandex Eda, LAVKA - Lavka, PHARMA - Аптеки, FLOWERS - Цветы.

**Type**: string

_Enum:_{.json-schema-reset .json-schema-value} `YE`, `DC`, `LAVKA`, `PHARMA`, `FLOWERS`

</div>

<div class="openapi-entity">

### RestaurantId {#entity-RestaurantId}

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

**Type**: string

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

</div>

<div class="openapi-entity">

### YandexOrderCreate {#entity-YandexOrderCreate}

Информация о заказе с доставкой курьерами-партнерами сервиса Яндекс Еды — "yandex".

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

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

Передается код курьера и дополнительная информация о заказе.

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

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

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

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

```json translate=no
{
  "clientName": "Иванов Иван Иванович",
  "courierArrivementDate": "2024-01-01T00:00:27.870000+00:20",
  "isSlotDelivery": true,
  "phoneNumber": "+74732006745 доб. 12099",
  "realPhoneNumber": "79998887766",
  "deliveryAddress": {
    "city": "Москва",
    "entrance": "6",
    "flat": "234",
    "floor": "12",
    "full": "Москва, улица Тверская, дом 1 строение 4, подъезд 2. 4-й этаж, код домофона: 123 К 4567",
    "house": "4к1",
    "intercom": "234",
    "latitude": "55.756994",
    "longitude": "37.614006",
    "region": "Видное",
    "street": "улица Викторенко"
  }
}
```

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

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

Дискриминатор схемы. Для заказов с доставкой курьерами-партнерами сервиса Яндекс Еды равен "yandex".

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

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

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

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

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

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

```json translate=no
[
  {
    "id": "some-uniq-identifier",
    "name": "Молоко Домик в деревне",
    "originPrice": 70,
    "price": 84,
    "quantity": 3.4
  }
]
```

{% 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": 1570,
  "paymentType": "CARD"
}
```

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

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

Бренд

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

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

Идентификатор платформы, на которой был создан заказ: DC - Delivery Club, YE - Yandex Eda, LAVKA - Lavka, PHARMA - Аптеки, FLOWERS - Цветы.

_Enum:_{.json-schema-reset .json-schema-value} `YE`, `DC`, `LAVKA`, `PHARMA`, `FLOWERS`
{.table-cell}
||
||

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

Список скидок в заказе. В данный момент передаются только процентные скидки на товары от партнёра

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

```json translate=no
[
  {
    "type": "PERCENTAGE",
    "discount": 100
  }
]
```

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

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

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

_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
{
  "promos": [
    {
      "type": "PERCENTAGE",
      "discount": 100
    }
  ],
  "brand": "example",
  "comment": "Код курьера: 4563. Дополнительная информация о заказе...",
  "deliveryInfo": {
    "clientName": "Иванов Иван Иванович",
    "courierArrivementDate": "2024-01-01T00:00:27.870000+00:20",
    "isSlotDelivery": true,
    "phoneNumber": "+74732006745 доб. 12099",
    "realPhoneNumber": "79998887766",
    "deliveryAddress": {
      "city": "Москва",
      "entrance": "6",
      "flat": "234",
      "floor": "12",
      "full": "Москва, улица Тверская, дом 1 строение 4, подъезд 2. 4-й этаж, код домофона: 123 К 4567",
      "house": "4к1",
      "intercom": "234",
      "latitude": "55.756994",
      "longitude": "37.614006",
      "region": "Видное",
      "street": "улица Викторенко"
    }
  },
  "discriminator": "yandex",
  "eatsId": "230130-1234567",
  "items": [
    {
      "id": "some-uniq-identifier",
      "name": "Молоко Домик в деревне",
      "originPrice": 70,
      "price": 84,
      "quantity": 3.4
    }
  ],
  "paymentInfo": {
    "itemsCost": 1570,
    "paymentType": "CARD"
  },
  "platform": "YE",
  "restaurantId": "937c57f6-4508-4858-be7f-20691a16fbb0"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### MarketplaceOrderDiscriminator {#entity-MarketplaceOrderDiscriminator}

Дискриминатор схемы. Для заказов с доставкой курьерами Партнера равен "marketplace".

**Type**: string

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

</div>

<div class="openapi-entity">

### DeliveryDate {#entity-DeliveryDate}

Дата и время доставки, к которым клиент ожидает доставку заказа.
В формате RFC3339 с дробной частью секунд: `Y-m-dTH:i:s.uP`.


**Type**: string&lt;date-time&gt;

_Example:_{.json-schema-reset .json-schema-example} `1970-01-01T00:00:27.870000+00:20`

</div>

<div class="openapi-entity">

### DeliverySlot {#entity-DeliverySlot}

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

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

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

Начало слота доставки

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

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

Конец слота доставки

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

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

Id слота партнёра. Передается в случае если слоты корзины передаются по [API](https://yandex.ru/support/retail/ru/ref/partner.slots.get)

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

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

```json translate=no
{
  "from": "1970-01-01T00:00:27.870000+00:20",
  "slotId": "example",
  "to": "1970-01-01T00:00:27.870000+00:20"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### MarketplaceCreateDeliveryInfo {#entity-MarketplaceCreateDeliveryInfo}

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

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

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

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

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

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

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

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

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

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

Дата и время доставки, к которым клиент ожидает доставку заказа.
В формате RFC3339 с дробной частью секунд: `Y-m-dTH:i:s.uP`.


_Example:_{.json-schema-reset .json-schema-example} `1970-01-01T00: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} `+74732006745 доб. 12099`
{.table-cell}
||
||

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

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

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

```json translate=no
{
  "from": "1970-01-01T00:00:27.870000+00:20",
  "slotId": "example",
  "to": "1970-01-01T00:00:27.870000+00:20"
}
```

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

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

Номер телефона клиента без маскировки, передаётся с согласия пользователя на передачу данных и привязку карты лояльности. Требует поддержки только при интеграции программы лояльности партнёра в Яндекс Еде.

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

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

```json translate=no
{
  "clientName": "Иванов Иван Иванович",
  "deliveryAddress": {
    "city": "Москва",
    "entrance": "6",
    "flat": "234",
    "floor": "12",
    "full": "Москва, улица Тверская, дом 1 строение 4, подъезд 2. 4-й этаж, код домофона: 123 К 4567",
    "house": "4к1",
    "intercom": "234",
    "latitude": "55.756994",
    "longitude": "37.614006",
    "region": "Видное",
    "street": "улица Викторенко"
  },
  "deliveryDate": "1970-01-01T00:00:27.870000+00:20",
  "deliverySlot": {
    "from": "1970-01-01T00:00:27.870000+00:20",
    "slotId": "example",
    "to": "1970-01-01T00:00:27.870000+00:20"
  },
  "phoneNumber": "+74732006745 доб. 12099",
  "realPhoneNumber": "79998887766"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### MarketplaceOrderPaymentInfo {#entity-MarketplaceOrderPaymentInfo}

{% cut "**All of 2 types**" %}{.json-schema-combinators data-marker=and}

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

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

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

  {% endcut %}

- {% cut "**Type**: object" %}

  #|
  ||

  _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}
  ||
  ||

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

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

  {% endcut %}

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

  ```json translate=no
  {
    "change": 0,
    "deliveryFee": 179,
    "total": 1749
  }
  ```

  {% endcut %}

{% endcut %}

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

```json translate=no
{
  "itemsCost": 1570,
  "paymentType": "CARD",
  "change": 0,
  "deliveryFee": 179,
  "total": 1749
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### OrderComment {#entity-OrderComment}

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

**Type**: string

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

</div>

<div class="openapi-entity">

### MarketplaceOrderCreate {#entity-MarketplaceOrderCreate}

Информация о заказе с доставкой курьерами Партнера -  "marketplace".

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

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

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

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

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

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

```json translate=no
{
  "clientName": "Иванов Иван Иванович",
  "deliveryAddress": {
    "city": "Москва",
    "entrance": "6",
    "flat": "234",
    "floor": "12",
    "full": "Москва, улица Тверская, дом 1 строение 4, подъезд 2. 4-й этаж, код домофона: 123 К 4567",
    "house": "4к1",
    "intercom": "234",
    "latitude": "55.756994",
    "longitude": "37.614006",
    "region": "Видное",
    "street": "улица Викторенко"
  },
  "deliveryDate": "1970-01-01T00:00:27.870000+00:20",
  "deliverySlot": {
    "from": "1970-01-01T00:00:27.870000+00:20",
    "slotId": "example",
    "to": "1970-01-01T00:00:27.870000+00:20"
  },
  "phoneNumber": "+74732006745 доб. 12099",
  "realPhoneNumber": "79998887766"
}
```

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

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

Дискриминатор схемы. Для заказов с доставкой курьерами Партнера равен "marketplace".

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

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

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

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

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

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

```json translate=no
[
  {
    "id": "some-uniq-identifier",
    "name": "Молоко Домик в деревне",
    "originPrice": 70,
    "price": 84,
    "quantity": 3.4
  }
]
```

{% 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
{
  "itemsCost": 1570,
  "paymentType": "CARD",
  "change": 0,
  "deliveryFee": 179,
  "total": 1749
}
```

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

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

Бренд

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

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

Идентификатор платформы, на которой был создан заказ: DC - Delivery Club, YE - Yandex Eda, LAVKA - Lavka, PHARMA - Аптеки, FLOWERS - Цветы.

_Enum:_{.json-schema-reset .json-schema-value} `YE`, `DC`, `LAVKA`, `PHARMA`, `FLOWERS`
{.table-cell}
||
||

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

Список скидок в заказе. В данный момент передаются только процентные скидки на товары от партнёра

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

```json translate=no
[
  {
    "type": "PERCENTAGE",
    "discount": 100
  }
]
```

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

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

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

_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
{
  "promos": [
    {
      "type": "PERCENTAGE",
      "discount": 100
    }
  ],
  "platform": "YE",
  "discriminator": "marketplace",
  "eatsId": "230130-1234567",
  "items": [
    {
      "id": "some-uniq-identifier",
      "name": "Молоко Домик в деревне",
      "originPrice": 70,
      "price": 84,
      "quantity": 3.4
    }
  ],
  "restaurantId": "937c57f6-4508-4858-be7f-20691a16fbb0",
  "deliveryInfo": {
    "clientName": "Иванов Иван Иванович",
    "deliveryAddress": {
      "city": "Москва",
      "entrance": "6",
      "flat": "234",
      "floor": "12",
      "full": "Москва, улица Тверская, дом 1 строение 4, подъезд 2. 4-й этаж, код домофона: 123 К 4567",
      "house": "4к1",
      "intercom": "234",
      "latitude": "55.756994",
      "longitude": "37.614006",
      "region": "Видное",
      "street": "улица Викторенко"
    },
    "deliveryDate": "1970-01-01T00:00:27.870000+00:20",
    "deliverySlot": {
      "from": "1970-01-01T00:00:27.870000+00:20",
      "slotId": "example",
      "to": "1970-01-01T00:00:27.870000+00:20"
    },
    "phoneNumber": "+74732006745 доб. 12099",
    "realPhoneNumber": "79998887766"
  },
  "paymentInfo": {
    "itemsCost": 1570,
    "paymentType": "CARD",
    "change": 0,
    "deliveryFee": 179,
    "total": 1749
  },
  "comment": "Дополнительная информация о заказе...",
  "brand": "example"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### ClientArrivementDate {#entity-ClientArrivementDate}

Ориентировочная дата и время прибытия клиента в торговую точку.
В формате RFC3339 с дробной частью секунд: `Y-m-dTH:i:s.uP`.


**Type**: string&lt;date-time&gt;

_Example:_{.json-schema-reset .json-schema-example} `2024-01-01T00:00:27.870000+00:20`

</div>

<div class="openapi-entity">

### PickupDeliveryInfo {#entity-PickupDeliveryInfo}

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

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

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

Ориентировочная дата и время прибытия клиента в торговую точку.
В формате RFC3339 с дробной частью секунд: `Y-m-dTH:i:s.uP`.


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

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

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

_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} `+74732006745 доб. 12099`
{.table-cell}
||
||

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

Номер телефона клиента без маскировки, передаётся с согласия пользователя на передачу данных и привязку карты лояльности. Требует поддержки только при интеграции программы лояльности партнёра в Яндекс Еде.

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

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

```json translate=no
{
  "clientArrivementDate": "2024-01-01T00:00:27.870000+00:20",
  "clientName": "Иванов Иван Иванович",
  "phoneNumber": "+74732006745 доб. 12099",
  "realPhoneNumber": "79998887766"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### PickupOrderDiscriminator {#entity-PickupOrderDiscriminator}

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

**Type**: string

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

</div>

<div class="openapi-entity">

### PickupOrderPaymentInfo {#entity-PickupOrderPaymentInfo}

{% cut "**All of 2 types**" %}{.json-schema-combinators data-marker=and}

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

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

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

  {% endcut %}

- {% cut "**Type**: object" %}

  #|
  ||

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

  Сумма, с которой потребуется сдача. Другими словами, это сумма которой клиент планирует расплатиться. Обычно оплата клиентом происходит картой на стороне Яндекса и Партнёрам данное поле передается пустым.
  {.table-cell}
  ||
  ||

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

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

  {% endcut %}

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

  ```json translate=no
  {
    "change": 0,
    "total": 1749
  }
  ```

  {% endcut %}

{% endcut %}

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

```json translate=no
{
  "itemsCost": 1570,
  "paymentType": "CARD",
  "change": 0,
  "total": 1749
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### PickupPointId {#entity-PickupPointId}

Идентификатор точки выдачи заказа, из которой клиент ожидает забрать заказ.

**Type**: string

_Example:_{.json-schema-reset .json-schema-example} `some-thing-id`

</div>

<div class="openapi-entity">

### PickupOrderCreate {#entity-PickupOrderCreate}

Информация о заказе с самовывозом - "pickup".

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

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

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

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

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

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

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

```json translate=no
{
  "clientArrivementDate": "2024-01-01T00:00:27.870000+00:20",
  "clientName": "Иванов Иван Иванович",
  "phoneNumber": "+74732006745 доб. 12099",
  "realPhoneNumber": "79998887766"
}
```

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

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

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

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

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

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

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

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

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

```json translate=no
[
  {
    "id": "some-uniq-identifier",
    "name": "Молоко Домик в деревне",
    "originPrice": 70,
    "price": 84,
    "quantity": 3.4
  }
]
```

{% 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
{
  "itemsCost": 1570,
  "paymentType": "CARD",
  "change": 0,
  "total": 1749
}
```

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

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

Бренд

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

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

Идентификатор точки выдачи заказа, из которой клиент ожидает забрать заказ.

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

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

Идентификатор платформы, на которой был создан заказ: DC - Delivery Club, YE - Yandex Eda, LAVKA - Lavka, PHARMA - Аптеки, FLOWERS - Цветы.

_Enum:_{.json-schema-reset .json-schema-value} `YE`, `DC`, `LAVKA`, `PHARMA`, `FLOWERS`
{.table-cell}
||
||

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

Список скидок в заказе. В данный момент передаются только процентные скидки на товары от партнёра

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

```json translate=no
[
  {
    "type": "PERCENTAGE",
    "discount": 100
  }
]
```

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

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

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

_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
{
  "promos": [
    {
      "type": "PERCENTAGE",
      "discount": 100
    }
  ],
  "brand": "example",
  "comment": "Дополнительная информация о заказе...",
  "deliveryInfo": {
    "clientArrivementDate": "2024-01-01T00:00:27.870000+00:20",
    "clientName": "Иванов Иван Иванович",
    "phoneNumber": "+74732006745 доб. 12099",
    "realPhoneNumber": "79998887766"
  },
  "discriminator": "pickup",
  "eatsId": "230130-1234567",
  "items": [
    {
      "id": "some-uniq-identifier",
      "name": "Молоко Домик в деревне",
      "originPrice": 70,
      "price": 84,
      "quantity": 3.4
    }
  ],
  "paymentInfo": {
    "itemsCost": 1570,
    "paymentType": "CARD",
    "change": 0,
    "total": 1749
  },
  "platform": "YE",
  "restaurantId": "937c57f6-4508-4858-be7f-20691a16fbb0",
  "pickupPointId": "some-thing-id"
}
```

{% endcut %}

</div>

## Responses

<div class="openapi__response__code__200">

## 200 OK

Заказ успешно создан в системе Партнёра.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "result": "OK",
  "orderId": "03d3b69b-331c-4f84-b2c4-888b30320e63"
}
```

{% endcut %}

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

_orderId_{.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}
||
||

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

_Example:_{.json-schema-reset .json-schema-example} `OK`
{.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>

</div>

<div class="openapi__response__code__400">

## 400 Bad Request

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

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
[
  {
    "code": 400,
    "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 .json-schema-required}
{.table-cell}|
**Type**: integer

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

_description_{.json-schema-reset .json-schema-property .json-schema-required}
{.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": 400,
  "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__500">

## 500 Internal Server Error

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

<div class="openapi-entity">

### Body

{% cut "application/json" %}

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

{% endcut %}

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

</div>

</div>

</div>

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