---
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/en/llms.txt

<div class="openapi">

# Respond to a customer feedback for an order with the option to send a text and/or promo code.

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

{% note info %}

This method is only available by subscription.

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

the ID of the feedback to be answered

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

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

The text of the partner's response to the feedback

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

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

End-to-end order identifier on the Yandex side in the format DDDDDD-DDDDDDDD

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

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

Promo code with a percentage discount

_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

Successful request, response to feedback sent to the customer. No response body..

</div>

<div class="openapi__response__code__204">

## 204 No Content

Successful request, but the review is not actual. In this case, the client will not receive a response, and it will also not be possible to issue a promo code to the client.

</div>

<div class="openapi__response__code__400">

## 400 Bad Request

Invalid feedback ID format. No response body.

</div>

<div class="openapi__response__code__401">

## 401 Unauthorized

Authorization failed - the token expired or was not passed in the request. A retry will be made.

<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

Reason for authorization failure

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

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

Text description of the reason for authorization failure

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

</div>

</div>

<div class="openapi__response__code__403">

## 403 Forbidden

The restaurant does not have a subscription. No response body.

</div>

</div>

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