Requires write_comments access scope. More access scope
The Batch Create Comment API allows users to create multiple comments for products in a single request. This is especially useful for bulk operations, such as importing customer reviews or adding product feedback in batch.## Use Cases
Import multiple product reviews at once for efficient management.
Add bulk feedback or testimonials during product updates.
Simplify large-scale operations, such as migrating comments to a new store.
Error message explaining why the comment failed to process.
review_error_product_not_found;
Error Response
Error responses in the API can be represented using two different fields: errors and error. Both fields provide details about issues encountered during request processing. Below is an explanation of the fields with their respective examples and descriptions.
Field
Type
Example
Description
error
Array
"store is not active"
Indicates an error encountered during the process.
Error Details
Status Code
Message
Possible Reason
Example Response
400
Bad Request
Invalid input format or request structure (e.g., missing required fields or incorrect data types).
Bad Request
Unauthorized
The request is missing valid authentication credentials or the credentials provided are invalid.
Unauthorized
404
Invalid or empty store name
invalid store name
{ "errors": store is not active}
200
Partial failed
Some items in the batch request were processed successfully, while others failed.
review_error_product_not_found
product not found
评论不可为空;
content is required
评分支持输入0.5-5分,最小单位为0.5分
star must be integer and arranged from 1 - 5.
点赞数必须为大于等于0的整数,且最多8位;
like count must be positive integer and up to 8 digits
用户名不可为空
empty user name
API Structure Overview
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!