---
metadata:
  - name: generator
    content: Diplodoc Platform v5.48.2
alternate:
  - https://yandex.com/dev/eda-vendor/doc/en/ref/Vendor-Management-Integration-API/feedback.answer.md
  - https://yandex.com/dev/eda-vendor/doc/ru/ref/Vendor-Management-Integration-API/feedback.answer.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/eda-vendor/doc/ru/llms.txt

<div class="openapi">

# Ответить на отзыв клиента по заказу c возможностью отправить текст и/или промокод

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

{% note info %}

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

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

</div>

</div>

</div>

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "feedback_id": "1234567",
  "text": "example",
  "order_nr": "example",
  "promo": 10
}
```

{% endcut %}

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

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

id отзыва, на который надо ответить

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

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

Текст ответа партнёра на отзыв

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

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

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

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

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

Промокод со скидкой в процентах

_Enum:_{.json-schema-reset .json-schema-value} `10`, `15`, `20`, `30`, `40`
{.table-cell}
||
|#{.json-schema-properties}

</div>

## Responses

<div class="openapi__response__code__200">

## 200 OK

Успешный запрос, ответ на отзыв отправлен клиенту. Без тела ответа.

</div>

<div class="openapi__response__code__204">

## 204 No Content

Успешный запрос, но отзыв неакутален. В этом случае клиент ответ не получит, а также не удастся выдать клиенту промокод.

</div>

<div class="openapi__response__code__400">

## 400 Bad Request

Неверный формат id отзыва. Без тела ответа.

</div>

<div class="openapi__response__code__401">

## 401 Unauthorized

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

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "code": "invalid-token",
  "message": "Bad token"
}
```

{% endcut %}

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

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

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

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

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

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

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

</div>

</div>

<div class="openapi__response__code__403">

## 403 Forbidden

У ресторана отсутствует подписка. Без тела ответа.

</div>

<div class="openapi__response__code__404">

## 404 Not Found

Отзыв не найден. Без тела ответа.

</div>

</div>

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