---
title: "Update Product Review Comment"
method: PUT
path: "/product_review_comments/{id}"
tags: ["Product Review Comments"]
---

# Update Product Review Comment

`PUT /product_review_comments/{id}`

To update a product review comment by id.<br>以id更新某一商品評價。

## Path parameters

- `id` string, required

## Request body

- object
  - `user_name` UserName — unresolved $ref
  - `status` Status — unresolved $ref
  - `score` Score — unresolved $ref
  - `comment` Comment — unresolved $ref
  - `media_ids` string[] — Array of media ids<br>媒體id陣列

## Response `200`

OK

- ProductReviewComment
  - `id` string — ID
  - `product_id` string — Product ID
  - `order_id` string — Order ID (if any)
  - `user_id` string — Customer ID (if any)
  - `user_name` string — Name of the reviewer (only applicable on imported review)<br>評論作者的名稱（只適用於導入評論）
  - `status` string
  - `score` 1 | 2 | 3 | 4 | 5
  - `comment` string — The content of the review comment
  - `media` object — Object contains url of image in different dimensions<br>包含不同大小圖片的連絡
  - `created_by` string
  - `commented_at` string — Commented time<br>評論時間
  - `updated_at` string — Updated time<br>更新時間
  - `created_at` string — Created time<br>建立時間

---

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