HomeGuidesAPI ReferenceChangelogDiscussions
HomeLog In
Guides

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

ParameterTypeDescriptionExample
product_review_comment_idStringProduct review comment id
商品評價id
5f6d742ce38809bd9fcc438b

Response fields

FieldTypeDescriptionExample
idStringProduct review comment id
商品評價id
5f6d742ce38809bd9fcc438b
product_idStringProduct id
產品id
5f57251ce38809bde9681c3b
order_idStringOrder id
訂單id
5f686623e38809c8ed14b1ea
user_idStringUser id
顧客id
5f602e9c01afcd34f53db613
user_nameStringUser name
顧客名稱
Ming
statusStringStatus
狀態
-
active
hidden
removed
hidden
scoreIntegerScore
評分
3
commentStringComment
評價
Hello
mediaArrayMedia 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_byStringChannel that created the product review comment
建立商品評價的渠道
-
shop
importer
openapi
openapi
commented_atDateTimeCommented time
評價時間
-
*UTC Time
2020-09-25T04:38:04.203+00:00
updated_atDateTimeUpdated time
更新時間
-
*UTC Time
2020-09-25T04:38:04.203+00:00
created_atDateTimeCreated 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"
}