Import Reviews
/admin/reviews/importImports up to 100 reviews from another platform, published, with no order: source "migration", as a store migration brings them. Answers one outcome per review, in order: Imported with the review's id and notes on what was changed to fit (a message or reply shortened), or Skipped with the reason, such as a rating that is not one to five stars or a product (or variant) that is not one of the store's live ones. A key imported before, here or by a store migration, is answered Imported again with the same id, and changes nothing: retry a call freely. Only the store's owner, or an app API key, may call it: a team member is StoreOwnerRequiredError.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
items <= 100Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/admin/reviews/import" \ -H "Content-Type: application/json" \ -d '{ "reviews": [ { "key": "string", "productId": "string", "rating": -9007199254740991, "createdAt": "string" } ] }'[ { "_tag": "Imported", "key": "string", "id": "string", "notes": [ "string" ] }]Get Review GET
Previous Page
List Reviews GET
One page of the reviews of all the store's products, newest first, and the total of those that match; given ratings or statuses, only those. Without statuses it holds hidden reviews too. Only "published" ones show on the storefront and count toward a product's rating, those copied from another platform (source "migration") included. It takes no product: to answer about one product, read every page.
