---
title: "Get sale comments"
method: GET
path: "/sales/{saleId}/comments"
tags: ["Sales"]
---

# Get sale comments

`GET /sales/{saleId}/comments`

## Request

- Base URL: `https://open.shopline.io/v1`
- URL: `https://open.shopline.io/v1/sales/{saleId}/comments`
- Auth: HTTP bearer

To get sale comments<br>取得直播間的評論消息

## Path parameters

- `saleId` string, required

## Query parameters

- `platform` string[]
- `per_page` integer
- `previous_id` string

## Response `200`

OK

- object
  - `items` SaleComment[]
    - `sale_id` string: Live Room ID<br>直播間 ID
    - `platform` string: Live Platform<br>直播渠道
    - `page_id` string: Fan page ID, some channels may not have it.<br>粉絲專頁 ID, 部分渠道沒有
    - `post_id` string: Post ID, some channels may not have it.<br>貼文 ID, 部分渠道沒有
    - `post_sales_user_id` string: Customer ID in live stream<br>直播間顧客 ID
    - `user_name` string: Customer Name<br>顧客姓名
    - `comment_id` string: Comment ID<br>留言 ID
    - `content` string: Comment Content<br>留言內容
    - `hit_keyword` integer: Whether it hits the keyword, (only includes product keywords).<br> 是否命中關鍵字(僅包含商品關鍵字)<br> 0: 未命中; 1: 命中
    - `has_add_cart` integer: Whether the add-to-cart was successful.<br>是否加購成功<br> hit_keyword=1時，此欄位才會有值
    - `product_info` unknown[]: Information about the added-to-cart items.<br>加購的商品資料<br> hit_keyword=1時，此欄位才會有值
      - unknown
  - `last_id` LastId (unresolved $ref)
  - `limit` Limit (unresolved $ref)

## Other responses

- `500`: Server error

---

[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.dev/shoplineapp/apis/shopline-open-api/revisions/d2518391b149?raw)
