HomeGuidesAPI ReferenceChangelogDiscussions
HomeLog In
Guides

Bulk Create Product Review Comments

❗️

Notice

Please contact SHOPLINE Merchant Success team to enable this function.
請向SHOPLINE Merchant Success團隊申請開啟此功能。

Function

To bulk create product review comments.
批量創建商品評價。

URL

POST <<api_domain>>/v1/product_review_comments/bulk

Request Parameters

ParameterTypeDescriptionExample
items[Create Product Review Comment](doc:create-product-review-comment) ][]Array of create product review comment review
創建商品評價的陣列
items: [{ product_id: '5a8165efe38809548f0000f9', score: 5, status: 'hidden', comment: 'Good' }, { product_id: '5a8165efe38809548f0000f9', score: 5, status: 'hidden', comment: 'Very good' }]

Response Example

{
  "result": "success",
  "count": 2
}