---
title: "rate"
method: POST
path: "/api/customer/purchases/rate"
tags: ["purchase-customer-resource"]
---

# rate

`POST /api/customer/purchases/rate`

## Request body

- PurchaseRateCommand
  - `comment` string
  - `complaints` string[]
  - `complaintsString` string
  - `id` integer
  - `priceRate` integer
  - `qualityRate` integer
  - `rate` integer
  - `referenceNumber` integer
  - `title` string
  - `transactionId` integer

## Response `200`

OK

## Other responses

- `201` — Created
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.dev/ayriaclub/apis/ayria-api.md) · [All operations](https://skmtc.dev/ayriaclub/apis/ayria-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ayriaclub/ayria-api/revisions/e53c83aeee1d/schema)
