---
title: "Get Product Review Comments"
method: GET
path: "/product_review_comments"
tags: ["Product Review Comments"]
---

# Get Product Review Comments

`GET /product_review_comments`

To retrieve product review comments.<br>抓取商品評價。

## Query parameters

- `previous_id` string
- `product_id` string
- `page` integer
- `per_page` integer
- `sort_by` 'created_at' | 'score'
- `order_by` 'asc' | 'desc'
- `status` string

## Response `200`

OK

- object
  - `items` ProductReviewComments[]
    - `items` 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>建立時間
    - `pagination` Paginatable
      - `current_page` integer — The current page number<br>當前分頁
      - `per_page` integer — Number of result per page<br>每頁顯示 n 筆資料<br>(Default: 24)
      - `total_count` integer — Number of result in total<br>資料總量
      - `total_pages` integer — Number of pages in total<br>總頁數量
  - `pagination` Paginatable
    - `current_page` integer — The current page number<br>當前分頁
    - `per_page` integer — Number of result per page<br>每頁顯示 n 筆資料<br>(Default: 24)
    - `total_count` integer — Number of result in total<br>資料總量
    - `total_pages` integer — Number of pages in total<br>總頁數量
  - `last_id` string

## Other responses

- `422` — Unprocessable entity error

---

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