Get Product Review Comment

Function

To retrieve one of the product review comments by id.
以id抓取某一商品評價。

URL

GET <<api_domain>>/v1/product_review_comments/:product_review_comment_id

Request parameters

Parameter

Type

Description

Example

product_review_comment_id

String

Product review comment id
商品評價id

5f6d742ce38809bd9fcc438b

Response fields

Field

Type

Description

Example

id

String

Product review comment id
商品評價id

5f6d742ce38809bd9fcc438b

product_id

String

Product id
產品id

5f57251ce38809bde9681c3b

order_id

String

Order id
訂單id

5f686623e38809c8ed14b1ea

user_id

String

User id
顧客id

5f602e9c01afcd34f53db613

user_name

String

User name
顧客名稱

Ming

status

String

Status
狀態

  • active
    hidden
    removed

hidden

score

Integer

Score
評分

3

comment

String

Comment
評價

Hello

media

Array

Media Data
媒體(照片)資訊

    {
      "images": {
        "original": {
          "width": 911.0,
          "height": 491.0,
          "url": "https://img-shoplineapp-com.s3.amazonaws.com/media/image_clips/5ec38gbee388097abf1fbc20/original.png?1589874622"
        }
      },
      "id": "5ec38fbee388097abf1fbc20",
      "alt_translations": {}
    }
  ]```

 

created_by

String

Channel that created the product review comment
建立商品評價的渠道

  • shop
    importer
    openapi

openapi

commented_at

DateTime

Commented time
評價時間

  • UTC Time

2020-09-25T04:38:04.203+00:00

updated_at

DateTime

Updated time
更新時間

  • UTC Time

2020-09-25T04:38:04.203+00:00

created_at

DateTime

Created time
創建日期

  • UTC Time

2020-09-25T04:38:04.203+00:00

Response Example

{
    "id": "5f6d742ce38809bd9fcc438b",
    "product_id": "5f57251ce38809bde9681c3b",
    "order_id": "5f686623e38809c8ed14b1ea",
    "user_id": "5f602e9c01afcd34f53db613",
    "user_name": "Ming",
    "status": "hidden",
    "score": 1,
    "comment": "Hello",
    "media": [],
    "created_by": "importer",
    "commented_at": "2020-09-25T04:38:04.203+00:00",
    "updated_at": "2020-09-25T04:38:04.203+00:00",
    "created_at": "2020-09-25T04:38:04.203+00:00"
}