---
title: "Creates or updates a review"
method: POST
path: "/api/v1/languages/{language_id}/reviews"
tags: ["Reviews"]
---

# Creates or updates a review

`POST /api/v1/languages/{language_id}/reviews`

Creates a new review or updates an existing review based on the reviews' `id`. The profile with id `profile_id` is linked to this order. When the profile does not exist, a stub profile is created. The product with id `product_id` is linked to this order. When the product does not exist, a stub product is created.

## Path parameters

- `language_id` string, required

## Request body

- object
  - `review` Review
    - `id` union, required
      - string
      - integer
    - `name` string
    - `score` integer
    - `visible` boolean
    - `product_id` union, required
      - string
      - integer
    - `profile_id` union, required
      - string
      - integer
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Response `200`

Review successfully saved

- object
  - `review` Review
    - `id` union, required
      - string
      - integer
    - `name` string
    - `score` integer
    - `visible` boolean
    - `product_id` union, required
      - string
      - integer
    - `profile_id` union, required
      - string
      - integer
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `message` string

## Other responses

- `400` — Missing required parameters or unknown parameters
- `401` — Not authorized
- `404` — Language not found
- `500` — Unexpected error

---

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