---
metadata:
  - name: generator
    content: Diplodoc Platform v5.48.2
alternate:
  - https://yandex.com/dev/eda-vendor/doc/ru/ref/Otzyvy/partner.feedback.post.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 -->

Передать отзыв клиента по заказу.

{% note info %}

Метод доступен только по подписке.

{% endnote %}

Метод для предоставления ответа на отзыв находится в блоке Vendor Management Integration API.


## 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
/v1/feedback
```

</div>

</div>

</div>

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "feedback": {
    "id": "example",
    "createdAt": "1937-01-01T12:00:27.870000+00:20",
    "eatsId": "190330-12345678",
    "orderId": "example",
    "predefinedComment": "example",
    "comment": "example",
    "restaurantId": "example",
    "rating": 5,
    "takenAt": "1937-01-01T12:00:27+00:20",
    "deliveredAt": "1937-01-01T12:00:27+00:20"
  },
  "orderInfo": {
    "createdAt": "1937-01-01T12:00:27.870000+00:20",
    "platform": "YE",
    "discriminator": "marketplace",
    "deliveryInfo": {
      "clientName": "Иванов Иван Иванович"
    },
    "paymentInfo": {
      "total": 200.99
    },
    "items": [
      {
        "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
        "name": "Пицца Пепперони",
        "quantity": 3.5,
        "price": 100,
        "modifications": [
          {}
        ]
      }
    ],
    "comment": "Дополнительная информация о заказе: ..."
  }
}
```

{% endcut %}

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

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

Информация об отзыве клиента

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

```json translate=no
{
  "id": "example",
  "createdAt": "1937-01-01T12:00:27.870000+00:20",
  "eatsId": "190330-12345678",
  "orderId": "example",
  "predefinedComment": "example",
  "comment": "example",
  "restaurantId": "example",
  "rating": 5,
  "takenAt": "1937-01-01T12:00:27+00:20",
  "deliveredAt": "1937-01-01T12:00:27+00:20"
}
```

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

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

Информация о заказе

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

```json translate=no
{
  "createdAt": "1937-01-01T12:00:27.870000+00:20",
  "platform": "YE",
  "discriminator": "marketplace",
  "deliveryInfo": {
    "clientName": "Иванов Иван Иванович"
  },
  "paymentInfo": {
    "total": 200.99
  },
  "items": [
    {
      "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
      "name": "Пицца Пепперони",
      "quantity": 3.5,
      "price": 100,
      "modifications": [
        {
          "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
          "name": "Европейские приборы",
          "quantity": 3,
          "price": 100
        }
      ]
    }
  ],
  "comment": "Дополнительная информация о заказе: ..."
}
```

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

</div>

<div class="openapi-entity">

### Feedback {#entity-Feedback}

Информация об отзыве клиента

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

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

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

Дата, когда заказ был доставлен в формате ISO 8601 без дробной части секунд (Y-m-d\TH:i:s+hh:ss)

_Example:_{.json-schema-reset .json-schema-example} `1937-01-01T12:00:27+00:20`
{.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}
||
||

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

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

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

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

Оценка клиента по заказу от 1 до 5
{.table-cell}
||
||

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

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

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

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

Текстовый отзыв клиента по заказу

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

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

Идентификатор отзыва на стороне Яндекс.Еды

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

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

Предопредленные комметарии на стороне Яндекс.Еды, выбранные клиентом

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

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

Дата, когда курьер забрал заказ из ресторана, в формате ISO 8601 без дробной части секунд (Y-m-d\TH:i:s+hh:ss)

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

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

```json translate=no
{
  "id": "example",
  "createdAt": "1937-01-01T12:00:27.870000+00:20",
  "eatsId": "190330-12345678",
  "orderId": "example",
  "predefinedComment": "example",
  "comment": "example",
  "restaurantId": "example",
  "rating": 5,
  "takenAt": "1937-01-01T12:00:27+00:20",
  "deliveredAt": "1937-01-01T12:00:27+00:20"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### DeliveryInfo {#entity-DeliveryInfo}

#|
|| **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}
||
|#{.json-schema-properties}

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

```json translate=no
{
  "clientName": "Иванов Иван Иванович"
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### PaymentInfo {#entity-PaymentInfo}

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

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

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

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

```json translate=no
{
  "total": 200.99
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### ModificationsItem {#entity-ModificationsItem}

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

_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,
  "price": 100
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### OrderInfoItem {#entity-OrderInfoItem}

#|
|| **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**: [ModificationsItem](#entity-ModificationsItem)[]

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


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

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

{% endcut %}
{.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**: number

Количество позиции в заказе
{.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",
      "name": "Европейские приборы",
      "quantity": 3,
      "price": 100
    }
  ]
}
```

{% endcut %}

</div>

<div class="openapi-entity">

### OrderInfo {#entity-OrderInfo}

Информация о заказе

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

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

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

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

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

```json translate=no
{
  "clientName": "Иванов Иван Иванович"
}
```

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

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

Тип доставки заказа:

yandex - доставка курьерами Яндекс Еда
marketplace - доставка курьерами ресторана
pickup - самовывоз клиентом из ресторана


_Enum:_{.json-schema-reset .json-schema-value} `marketplace`, `yandex`, `pickup`
{.table-cell}
||
||

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

{% 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",
        "name": "Европейские приборы",
        "quantity": 3,
        "price": 100
      }
    ]
  }
]
```

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

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

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

```json translate=no
{
  "total": 200.99
}
```

{% endcut %}
{.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
{
  "createdAt": "1937-01-01T12:00:27.870000+00:20",
  "platform": "YE",
  "discriminator": "marketplace",
  "deliveryInfo": {
    "clientName": "Иванов Иван Иванович"
  },
  "paymentInfo": {
    "total": 200.99
  },
  "items": [
    {
      "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
      "name": "Пицца Пепперони",
      "quantity": 3.5,
      "price": 100,
      "modifications": [
        {
          "id": "937c57f6-4508-4858-be7f-20691a16fbb0",
          "name": "Европейские приборы",
          "quantity": 3,
          "price": 100
        }
      ]
    }
  ],
  "comment": "Дополнительная информация о заказе: ..."
}
```

{% 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__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.