---
title: "Rate a finished order"
method: POST
path: "/orders/{id}/feedback"
tags: ["Orders"]
---

# Rate a finished order

`POST /orders/{id}/feedback`

## Request

- Base URL: `https://barevalue.com/api/v1`
- URL: `https://barevalue.com/api/v1/orders/{id}/feedback`
- Auth: HTTP bearer

Whether the person the order was for is happy with the edit. Ask them, then send the answer. Our team is told about every first rating and every changed one. Sending it again for the same order replaces the earlier answer, comment and issues included.

## Path parameters

- `id` integer, required

## Request body

- FeedbackRequest
  - `rating` 'positive' | 'negative', required: Whether your user is happy with the edit
  - `comment` string: What they said, in their words
  - `issues` string[]: What was wrong

## Response `200`

OK

- FeedbackResponse
  - `order_id` integer
  - `feedback_id` integer
  - `rating` string
  - `message` string
  - `can_request_revision` boolean
  - `next` string, nullable

## Other responses

- `401`: Missing or invalid API key
- `404`: Resource not found
- `409`: order_not_done: the order is not finished
- `422`: validation_error

---

[API](https://skmtc.dev/barevalue/apis/barevalue-api.md) · [All operations](https://skmtc.dev/barevalue/apis/barevalue-api/llms.txt) · [OpenAPI document](https://skmtc.dev/barevalue/apis/barevalue-api/revisions/c47bdd23fcf6?raw)
