API 参考
Reviews
Content Delivery API: GET /reviews, GET /reviews/summary
Newest first, cursor-paginated. Only approved and published reviews are returned; 404 when the target does not exist, is not published, or has reviews turned off. verified is true only for reviews tied to a paid order (imported reviews are never verified).
Parameters
targetstring · queryrequiredproduct:<id>
cursorstring · queryOpaque cursor from the previous page's nextCursor. Omit for the first page.
limitinteger · queryMaximum number of items to return, 1-100. Defaults to 20.
Response 200
dataobject[]requireddata[].idstringrequireddata[].authorNamestringrequireddata[].ratingintegerrequireddata[].contentstringrequireddata[].publishedAtstringrequireddata[].verifiedbooleanrequiredTrue when the review is tied to a paid order; imported reviews are never verified.
data[].replyobjectrequiredThe store's public reply, if any.
data[].reply.bodystringrequireddata[].reply.repliedAtstringrequiredhasMorebooleanrequirednextCursorstring | nullrequiredhasHistoricalRatingbooleanrequiredTrue when the overall rating blends in reviews carried over from another platform.
Errors
VALIDATION400INVALID_CURSOR400
curl -X GET "https://{site}/api/v1/reviews"The blended average rating and the number of reviews, after the store's visibility rule (for example “show once there are 10 reviews”). When visible is false, render nothing.
Parameters
targetstring · queryrequiredproduct:<id>
Response 200
targetstringrequiredproduct:<id>
ratingnumberrequiredBlended average, 1–5; null when hidden.
countintegerrequiredReviews counted toward the rating; 0 when hidden.
visiblebooleanrequiredFalse when the store hides the rating (disabled or below its threshold).
hasHistoricalRatingbooleanrequired
Errors
VALIDATION400
curl -X GET "https://{site}/api/v1/reviews/summary"