Show product reviews, ratings and review carousels, and let customers write, vote on and delete reviews.
Every review belongs to a review group, which has its own review form and rules; most stores have one group. Only approved reviews appear on your storefront, and products in a product group share their reviews. Product IDs are Shopify's numeric product IDs, such as {{ product.id }} in Liquid.
getReviewGroupsLists the review groups shown on your storefront, with the settings of their review forms.getReviewGroupReviewsLists a review group's approved reviews, 5 per page, with search, filters and sorting.getReviewGroupReviewsSummaryReturns a product's review counts, average rating, rating breakdown and summarized custom question answers.getReviewDetailsReturns a review with its replies.getOtherProductReviewsLists a review group's approved reviews of other products, 5 per page, each with its product.getReviewsCarouselPicks approved reviews from across your products for a carousel or testimonials section.getCustomerReviewProductsLists the products the customer has reviewed in a group, and optionally those they can review next.createReviewSubmits the customer's review of a product, or updates the review they already wrote.voteReviewRecords the customer's vote on whether a review is helpful.deleteReviewDeletes one of the customer's reviews.Lists the review groups shown on your storefront, with the settings of their review forms.
Groups come in the order your reviews widget shows them as tabs. Use a group's reviewGroupId with the other review methods, and its settings.storefront to build your own review form: which fields to show, their labels, and your custom questions.
groupsReviewGroup[]reviewGroupIdstringnamestringThe group's name. With more than one group, your reviews widget shows each as a tab.
settingsobjectstorefrontReviewFormSettingsWhat the review form asks for, and how reviews show on your storefront.
allowRatingbooleanWhether customers rate products from 1 to 5 stars. When it's on, ask for a rating and show stars.
allowProsConsbooleanWhether customers can add pros and cons. When it's on, ask for them and show them.
allowMediabooleanWhether customers can add photos and videos to reviews. When it's on, show each review's media.
showIncentivizedReviewBadgebooleanWhether to mark reviews that earned a reward, see incentive.
submitButtonTextstringText of the button that opens the review form, such as Write A Review.
modalTitlestringTitle of the review form, such as Share your thoughts.
ratingLabelstringLabel above the stars, such as Rate your experience.
headlineLabelstringLabel of the headline field, such as Add a headline.
headlinePlaceholderstringPlaceholder of the headline field.
bodyLabelstringLabel of the review text field, such as Write a review.
bodyPlaceholderstringPlaceholder of the review text field.
customQuestionsPosition"before" | "after"Whether your custom questions come before or after the rating, headline and review text.
formsReviewForm[]The review forms that hold your custom questions, in order.
idstringAnswers refer to the form by this ID, as formId.
productConditionobject | nullThe products the form applies to; null for every product. Otherwise type: "product" with eight lists of strings: includedProductIds, includedProductTypes, includedProductTags, includedProductCollectionIds, and the same four starting with excluded. A product matches when it meets an included rule, or there are none, and no excluded rule. IDs are numeric or GIDs, and product types ignore case.
formobjectThe form's questions.
fieldsobject[]The questions and text blocks, in order. A question has an id, a type (single-choice, multiple-choice, written-answer, date-input or files-input), a label and required, and choice questions have options, each with an id and a label. visibleCondition shows a question only after certain answers or for certain products. Text blocks have type: "text".
style"single-form" | "carousel"single-form shows all questions at once, and carousel one at a time.
showCustomQuestionFiltersbooleanWhether shoppers can filter reviews by answers to choice questions, see questionFilters.
showCustomQuestionAggregationsbooleanWhether to show summarized answers, see customQuestionAggregations.
customQuestionAggregationsTitlestringHeading above the summarized answers, such as Rating Summary.
replyAuthorNamestringThe name your replies are signed with. When it's empty, your reviews widget uses Brand representative.
replyAuthorAvatarUrlstringURL of the picture shown with your replies, or an empty string.
Lists a review group's approved reviews, 5 per page, with search, filters and sorting.
Pass a productId for a product's reviews, including those of the products that share reviews with it through a product group; totalCount then tells you how many there are. Without it, you get the reviews of every product in the group. For the product's average rating, use getReviewGroupReviewsSummary.
With onlyMine: true, you get the signed-in customer's own reviews in the group instead, including those waiting for your approval. For a signed-in customer, viewerVote shows their vote on each review.
reviewGroupIdstringRequiredThe review group, from getReviewGroups.
productIdstringOnly this product's reviews, as a numeric Shopify product ID such as {{ product.id }} in Liquid.
pagenumberdefault 1The page, from 1.
sort"most-recent" | "oldest" | "highest-rating" | "lowest-rating" | "with-media" | "verified-purchase"default "most-recent"with-media puts reviews with photos or videos first, and verified-purchase reviews by verified buyers, newest first after that.
ratingnumberOnly reviews with this many stars, from 1 to 5.
searchstringWords to look for in the reviews, including the answers to your custom questions. Reviews with any of the words match. Use at least 3 characters.
withMediabooleandefault falsetrue lists only reviews with photos or videos.
questionFilters{ formId: string; questionId: string; optionId: string }[]Only reviews with these answers to your custom questions; a review must match every filter. Each filter names a form, one of its choice questions and an option, by their ids in the group's settings.storefront.forms, with one filter per question. For groups with showCustomQuestionFilters on.
onlyMinebooleandefault falsetrue lists the signed-in customer's own reviews.
reviewsReview[]reviewIdstringreviewGroupIdstringproductIdstringThe reviewed product's numeric Shopify product ID.
ratingnumber | nullStars from 1 to 5; null for a review without a rating.
contentReviewContentheadlinestring | nullOptionalA short title.
bodystringThe review text.
prosstring | nullOptionalWhat the reviewer liked. Show pros and cons when the group's allowProsCons is on.
consstring | nullOptionalWhat the reviewer didn't like.
locationstring | nullOptionalThe flag emoji of the reviewer's country, to show next to their name.
locationCodestring | nullOptionalThe reviewer's country code, such as US.
formsReviewFormAnswers[]Answers to your custom questions, one entry per review form.
formIdstringThe form's id in the group's settings.storefront.forms.
answersReviewAnswer[]idstringThe question's id.
type"single-choice" | "multiple-choice" | "written-answer" | "date-input" | "files-input"labelstringThe question.
valuestring | string[]An option id for a single choice question, an array of option ids for multiple choice, an array of file URLs for a file question, otherwise the answer text.
displayValuestringThe answer as shoppers see it, such as the chosen option's label or a date such as May 1, 2026.
scale{ type: "position" | "score"; options: { id: string; label: string }[] }OptionalScale questions only: show the answer as a marker along the scale (position) or as a score such as 4 out of 5 (score).
user{ name: string | null } | nullWho wrote it: show user.name, such as Anna K., or Anonymous when there's no name.
verifiedbooleanWhether the reviewer bought the product. Your storefront shows a Verified buyer badge.
status"pending" | "approved" | "rejected"Only approved reviews appear on your storefront.
createdAtstringWhen the review was written, as an ISO 8601 date-time.
votesSummary{ upvoteCount: number; downvoteCount: number }How many customers found the review helpful, and how many didn't.
repliesCountnumberHow many replies the review has. getReviewDetails returns them.
mediaReviewMedia[]Photos and videos, in display order. Show them when the group's allowMedia is on.
type"image" | "video"smallstringURL of a thumbnail, at most 128 pixels wide or high. For a video, the video's URL.
largestringURL of the full-size photo, or of the video.
incentiveobject | nullThe reward the reviewer earned for the review, or null. Mark these reviews as incentivized when the group's showIncentivizedReviewBadge is on.
incentiveType"loyalty_points" | "coupon" | "free_product" | "other"loyalty_points for points, coupon for a discount or free shipping, free_product for a free gift.
rewardTypestringThe kind of reward, such as asset (points), discount, free-shipping or gift.
fieldsHighlights{ headline: string[]; body: string[]; pros: string[]; cons: string[] }OptionalWith a search: the search terms found in each field, in lowercase, to highlight them.
viewerVote"upvote" | "downvote" | nullThe signed-in customer's vote on the review; null when they haven't voted.
totalCountnumber | nullHow many reviews match, across all pages; null without a productId.
Returns a product's review counts, average rating, rating breakdown and summarized custom question answers.
totalCount counts the product's approved reviews in this group, and reviewCountsByGroup in each group shown on your storefront, including the products that share reviews with it. averageRating and ratingAggregation cover the product's approved reviews in all those groups, like the rating at the top of your reviews widget. customQuestionAggregations is filled when the group shows summarized answers (showCustomQuestionAggregations).
reviewGroupIdstringRequiredThe review group, from getReviewGroups.
productIdstringRequiredThe numeric Shopify product ID, such as {{ product.id }} in Liquid.
withMediabooleandefault falsetrue counts only reviews with photos or videos in totalCount, reviewCountsByGroup and customQuestionAggregations.
totalCountnumberThe product's approved reviews in this group.
averageRatingnumber | nullThe average stars, from 1 to 5; null until a review has a rating.
ratingAggregation{ rating: number; count: number }[]How many reviews have each rating, from 5 stars down to 1.
reviewCountsByGroupRecord<string, number>The product's approved reviews in each group shown on your storefront, by reviewGroupId, as your reviews widget shows them on its tabs.
customQuestionAggregationsReviewQuestionSummary[]Summarized answers to the choice questions asked for the product.
formIdstringquestionIdstringlabelstringThe question.
type"value" | "score" | "position"How to show the result: an option's label (value), a score such as 3.8 out of 5 (score), or a marker along a scale (position).
responseCountnumberHow many reviews answered the question.
options{ id: string; label: string; count: number }[]Each option with the number of reviews that chose it, in the question's order.
valuestringOptionalWith value: the most chosen option for a multiple choice question, or the option closest to the average answer for a single choice question.
averageScorenumberOptionalWith score: the average score, from 1 to maxScore, to one decimal place.
maxScorenumberOptionalWith score: the highest score, the number of options.
averagePositionnumberOptionalWith position: the average position, from 0 at the first option to 1 at the last.
Returns a review with its replies.
Lists include each review's repliesCount; use this method to show the replies themselves.
reviewGroupIdstringRequiredThe review's group, from getReviewGroups.
reviewIdstringRequiredreviewReviewreviewIdstringreviewGroupIdstringproductIdstringThe reviewed product's numeric Shopify product ID.
ratingnumber | nullStars from 1 to 5; null for a review without a rating.
contentReviewContentheadlinestring | nullOptionalA short title.
bodystringThe review text.
prosstring | nullOptionalWhat the reviewer liked. Show pros and cons when the group's allowProsCons is on.
consstring | nullOptionalWhat the reviewer didn't like.
locationstring | nullOptionalThe flag emoji of the reviewer's country, to show next to their name.
locationCodestring | nullOptionalThe reviewer's country code, such as US.
formsReviewFormAnswers[]Answers to your custom questions, one entry per review form.
formIdstringThe form's id in the group's settings.storefront.forms.
answersReviewAnswer[]idstringThe question's id.
type"single-choice" | "multiple-choice" | "written-answer" | "date-input" | "files-input"labelstringThe question.
valuestring | string[]An option id for a single choice question, an array of option ids for multiple choice, an array of file URLs for a file question, otherwise the answer text.
displayValuestringThe answer as shoppers see it, such as the chosen option's label or a date such as May 1, 2026.
scale{ type: "position" | "score"; options: { id: string; label: string }[] }OptionalScale questions only: show the answer as a marker along the scale (position) or as a score such as 4 out of 5 (score).
user{ name: string | null } | nullWho wrote it: show user.name, such as Anna K., or Anonymous when there's no name.
verifiedbooleanWhether the reviewer bought the product. Your storefront shows a Verified buyer badge.
status"pending" | "approved" | "rejected"Only approved reviews appear on your storefront.
createdAtstringWhen the review was written, as an ISO 8601 date-time.
votesSummary{ upvoteCount: number; downvoteCount: number }How many customers found the review helpful, and how many didn't.
repliesCountnumberHow many replies the review has. getReviewDetails returns them.
mediaReviewMedia[]Photos and videos, in display order. Show them when the group's allowMedia is on.
type"image" | "video"smallstringURL of a thumbnail, at most 128 pixels wide or high. For a video, the video's URL.
largestringURL of the full-size photo, or of the video.
incentiveobject | nullThe reward the reviewer earned for the review, or null. Mark these reviews as incentivized when the group's showIncentivizedReviewBadge is on.
incentiveType"loyalty_points" | "coupon" | "free_product" | "other"loyalty_points for points, coupon for a discount or free shipping, free_product for a free gift.
rewardTypestringThe kind of reward, such as asset (points), discount, free-shipping or gift.
fieldsHighlights{ headline: string[]; body: string[]; pros: string[]; cons: string[] }OptionalWith a search: the search terms found in each field, in lowercase, to highlight them.
repliesReviewReply[]Your replies, oldest first. Your reviews widget signs them with the group's replyAuthorName, or Brand representative when it's empty.
reviewReplyIdstringcontent{ body: string }The reply.
createdAtstringWhen you replied, as an ISO 8601 date-time.
Lists a review group's approved reviews of other products, 5 per page, each with its product.
Use it to fill a product page that has no reviews yet with reviews of your other products, newest first. For a signed-in customer, viewerVote shows their vote on each review.
reviewGroupIdstringRequiredThe review group, from getReviewGroups.
productIdstringRequiredThe product you're showing, as a numeric Shopify product ID. Its own reviews are left out.
pagenumberdefault 1The page, from 1.
reviewsProductReview[]Reviews with the product they're about.
reviewIdstringreviewGroupIdstringproductIdstringThe reviewed product's numeric Shopify product ID.
ratingnumber | nullStars from 1 to 5; null for a review without a rating.
contentReviewContentheadlinestring | nullOptionalA short title.
bodystringThe review text.
prosstring | nullOptionalWhat the reviewer liked. Show pros and cons when the group's allowProsCons is on.
consstring | nullOptionalWhat the reviewer didn't like.
locationstring | nullOptionalThe flag emoji of the reviewer's country, to show next to their name.
locationCodestring | nullOptionalThe reviewer's country code, such as US.
formsReviewFormAnswers[]Answers to your custom questions, one entry per review form.
formIdstringThe form's id in the group's settings.storefront.forms.
answersReviewAnswer[]idstringThe question's id.
type"single-choice" | "multiple-choice" | "written-answer" | "date-input" | "files-input"labelstringThe question.
valuestring | string[]An option id for a single choice question, an array of option ids for multiple choice, an array of file URLs for a file question, otherwise the answer text.
displayValuestringThe answer as shoppers see it, such as the chosen option's label or a date such as May 1, 2026.
scale{ type: "position" | "score"; options: { id: string; label: string }[] }OptionalScale questions only: show the answer as a marker along the scale (position) or as a score such as 4 out of 5 (score).
user{ name: string | null } | nullWho wrote it: show user.name, such as Anna K., or Anonymous when there's no name.
verifiedbooleanWhether the reviewer bought the product. Your storefront shows a Verified buyer badge.
status"pending" | "approved" | "rejected"Only approved reviews appear on your storefront.
createdAtstringWhen the review was written, as an ISO 8601 date-time.
votesSummary{ upvoteCount: number; downvoteCount: number }How many customers found the review helpful, and how many didn't.
repliesCountnumberHow many replies the review has. getReviewDetails returns them.
mediaReviewMedia[]Photos and videos, in display order. Show them when the group's allowMedia is on.
type"image" | "video"smallstringURL of a thumbnail, at most 128 pixels wide or high. For a video, the video's URL.
largestringURL of the full-size photo, or of the video.
incentiveobject | nullThe reward the reviewer earned for the review, or null. Mark these reviews as incentivized when the group's showIncentivizedReviewBadge is on.
incentiveType"loyalty_points" | "coupon" | "free_product" | "other"loyalty_points for points, coupon for a discount or free shipping, free_product for a free gift.
rewardTypestringThe kind of reward, such as asset (points), discount, free-shipping or gift.
fieldsHighlights{ headline: string[]; body: string[]; pros: string[]; cons: string[] }OptionalWith a search: the search terms found in each field, in lowercase, to highlight them.
viewerVote"upvote" | "downvote" | nullThe signed-in customer's vote on the review; null when they haven't voted.
productobjectproductIdstringtitlestringimageUrlstring | nullurlstring | nullThe product's page in your store.
totalCountnumberHow many reviews there are, across all pages.
Picks approved reviews from across your products for a carousel or testimonials section.
By default, you get the 6 newest approved reviews from every group shown on your storefront; the options narrow the choice, and a review must match all of them. totalCount and averageRating describe all approved reviews in the chosen groups, for a line such as 4.7 stars from 412 reviews.
reviewGroupIdsstring[]default []Only reviews in these groups. An empty list means every group shown on your storefront.
reviewIdsstring[]default []Only these reviews, up to 100. For reviews you imported, their ID on the platform they came from works too.
productIdsstring[]default []Only reviews of these products, up to 100, by Shopify product ID, numeric or as a GID.
productVendorstringOnly reviews of products from this vendor.
productTagsstring[]default []Only reviews of products with any of these tags.
minimumRatingnumberOnly reviews with at least this many stars, from 1 to 5.
withPhotosbooleandefault falsetrue picks only reviews with photos.
limitnumberdefault 6How many reviews to pick, up to 30. With 0, you get only totalCount and averageRating.
randombooleandefault falsetrue picks reviews in random order instead of newest first.
fillEmptybooleandefault falsetrue picks from all reviews in the chosen groups when none match the other options.
totalCountnumberApproved reviews in the chosen groups.
averageRatingnumber | nullTheir average stars, from 1 to 5; null until a review has a rating.
reviewsCarouselReview[]reviewIdstringreviewGroupIdstringcreatedAtstringWhen the review was written, as an ISO 8601 date-time.
ratingnumber | nullStars from 1 to 5.
headlinestring | nullbodystringThe whole review text.
authorNamestring | nullThe reviewer's name as your storefront shows it, such as Anna K.; null for anonymous reviews.
photos{ small: string; large: string }[]The review's photos: small is a thumbnail URL and large the full-size photo.
productobjectproductIdstringtitlestring | nullimageUrlstring | nullurlstring | nullThe product's page in your store.
Lists the products the customer has reviewed in a group, and optionally those they can review next.
By default, you get each product the customer has reviewed in the group, with their review. With mode: "reviewed_and_reviewable", you also get the products from their orders in this store that they can review next. Products come most recently purchased first.
submitUrl and reviewUrl open Toki's review page, signed in as the customer, to write the review or edit it. Get them when you show them: they're valid for 2 hours.
reviewGroupIdstringRequiredThe review group, from getReviewGroups.
mode"reviewed" | "reviewed_and_reviewable"default "reviewed"reviewed_and_reviewable adds the products the customer can review next.
productsCustomerReviewProduct[]productIdstringThe numeric Shopify product ID.
productTitlestringproductImageUrlstring | nullreviewobject | nullThe customer's review of the product; null for products to review next.
reviewIdstringratingnumber | nullstatus"pending" | "approved"pending while the review waits for your approval.
contentReviewContentheadlinestring | nullOptionalA short title.
bodystringThe review text.
prosstring | nullOptionalWhat the reviewer liked. Show pros and cons when the group's allowProsCons is on.
consstring | nullOptionalWhat the reviewer didn't like.
locationstring | nullOptionalThe flag emoji of the reviewer's country, to show next to their name.
locationCodestring | nullOptionalThe reviewer's country code, such as US.
formsReviewFormAnswers[]Answers to your custom questions, one entry per review form.
formIdstringThe form's id in the group's settings.storefront.forms.
answersReviewAnswer[]idstringThe question's id.
type"single-choice" | "multiple-choice" | "written-answer" | "date-input" | "files-input"labelstringThe question.
valuestring | string[]An option id for a single choice question, an array of option ids for multiple choice, an array of file URLs for a file question, otherwise the answer text.
displayValuestringThe answer as shoppers see it, such as the chosen option's label or a date such as May 1, 2026.
scale{ type: "position" | "score"; options: { id: string; label: string }[] }OptionalScale questions only: show the answer as a marker along the scale (position) or as a score such as 4 out of 5 (score).
createdAtstringISO 8601 date-time.
reviewUrlstring | nullA link to edit the review on Toki's review page; null for products to review next.
submitUrlstring | nullA link to review the product on Toki's review page; null for reviewed products.
Submits the customer's review of a product, or updates the review they already wrote.
The group's moderation rule sets the status: pending until you approve the review, or approved right away when the group approves reviews automatically by rating. When the customer has ordered the product, Toki links the review to their latest order of it, so it shows as verified. A new review sends a Toki Review Created event to your connected integrations, and an approved one counts toward the Reviews rewards in your program.
Each customer has one review per product in a group: when they already have a pending or approved review, it's updated with the new rating and content, and keeps its status.
It rejects with Review forms do not match this product when content.forms doesn't answer the forms that apply to the product, and with You are not eligible to submit a review for this product. when the group's rules don't allow the review.
reviewGroupIdstringRequiredThe review group, from getReviewGroups.
productIdstringRequiredThe numeric Shopify product ID, such as {{ product.id }} in Liquid.
ratingnumberStars, a whole number from 1 to 5. Ask for a rating when the group's allowRating is on.
contentReviewContentInputRequiredWhat the customer wrote.
headlinestringA short title, up to 100 characters.
bodystringRequiredThe review, up to 5,000 characters.
prosstringWhat the customer liked, up to 100 characters.
consstringWhat they didn't like, up to 100 characters.
formsReviewFormAnswers[]default []Answers to your custom questions: one entry for each of the group's forms that applies to the product, in the order of settings.storefront.forms.
formIdstringRequiredThe form's id.
answersReviewAnswerInput[]RequiredOne per answered question. Answer every required question shown to the customer.
idstringRequiredThe question's id.
type"single-choice" | "multiple-choice" | "written-answer" | "date-input"RequiredThe question's type.
valuestring | string[]RequiredAn option id for a single choice question, an array of option ids for multiple choice, an ISO 8601 date such as 2026-05-01 for a date, otherwise the answer text.
labelstringRequiredThe question's label.
displayValuestringRequiredThe answer as shoppers see it, such as the chosen option's label.
authorNamestringThe name to show with the review; your storefront shows the first name and last initial, such as Anna K. Without it, the review shows the customer's first name.
isAnonymousbooleandefault falsetrue shows the review as Anonymous.
The saved review.
reviewReviewreviewIdstringreviewGroupIdstringproductIdstringThe reviewed product's numeric Shopify product ID.
ratingnumber | nullStars from 1 to 5; null for a review without a rating.
contentReviewContentheadlinestring | nullOptionalA short title.
bodystringThe review text.
prosstring | nullOptionalWhat the reviewer liked. Show pros and cons when the group's allowProsCons is on.
consstring | nullOptionalWhat the reviewer didn't like.
locationstring | nullOptionalThe flag emoji of the reviewer's country, to show next to their name.
locationCodestring | nullOptionalThe reviewer's country code, such as US.
formsReviewFormAnswers[]Answers to your custom questions, one entry per review form.
formIdstringThe form's id in the group's settings.storefront.forms.
answersReviewAnswer[]idstringThe question's id.
type"single-choice" | "multiple-choice" | "written-answer" | "date-input" | "files-input"labelstringThe question.
valuestring | string[]An option id for a single choice question, an array of option ids for multiple choice, an array of file URLs for a file question, otherwise the answer text.
displayValuestringThe answer as shoppers see it, such as the chosen option's label or a date such as May 1, 2026.
scale{ type: "position" | "score"; options: { id: string; label: string }[] }OptionalScale questions only: show the answer as a marker along the scale (position) or as a score such as 4 out of 5 (score).
user{ name: string | null } | nullWho wrote it: show user.name, such as Anna K., or Anonymous when there's no name.
verifiedbooleanWhether the reviewer bought the product. Your storefront shows a Verified buyer badge.
status"pending" | "approved" | "rejected"Only approved reviews appear on your storefront.
createdAtstringWhen the review was written, as an ISO 8601 date-time.
votesSummary{ upvoteCount: number; downvoteCount: number }How many customers found the review helpful, and how many didn't.
repliesCountnumberHow many replies the review has. getReviewDetails returns them.
mediaReviewMedia[]Photos and videos, in display order. Show them when the group's allowMedia is on.
type"image" | "video"smallstringURL of a thumbnail, at most 128 pixels wide or high. For a video, the video's URL.
largestringURL of the full-size photo, or of the video.
incentiveobject | nullThe reward the reviewer earned for the review, or null. Mark these reviews as incentivized when the group's showIncentivizedReviewBadge is on.
incentiveType"loyalty_points" | "coupon" | "free_product" | "other"loyalty_points for points, coupon for a discount or free shipping, free_product for a free gift.
rewardTypestringThe kind of reward, such as asset (points), discount, free-shipping or gift.
fieldsHighlights{ headline: string[]; body: string[]; pros: string[]; cons: string[] }OptionalWith a search: the search terms found in each field, in lowercase, to highlight them.
viewerVote"upvote" | "downvote" | nullThe signed-in customer's vote on the review; null when they haven't voted.
repliesReviewReply[]Your replies, oldest first. Your reviews widget signs them with the group's replyAuthorName, or Brand representative when it's empty.
reviewReplyIdstringcontent{ body: string }The reply.
createdAtstringWhen you replied, as an ISO 8601 date-time.
Records the customer's vote on whether a review is helpful.
Each customer has one vote per review: voting the same way again takes it back, and voting the other way changes it. The resolved review's viewerVote and votesSummary show the result.
reviewGroupIdstringRequiredThe review's group, from getReviewGroups.
reviewIdstringRequiredvoteType"upvote" | "downvote"Requiredupvote when the customer found the review helpful, downvote when they didn't.
The review with the customer's vote.
reviewReviewreviewIdstringreviewGroupIdstringproductIdstringThe reviewed product's numeric Shopify product ID.
ratingnumber | nullStars from 1 to 5; null for a review without a rating.
contentReviewContentheadlinestring | nullOptionalA short title.
bodystringThe review text.
prosstring | nullOptionalWhat the reviewer liked. Show pros and cons when the group's allowProsCons is on.
consstring | nullOptionalWhat the reviewer didn't like.
locationstring | nullOptionalThe flag emoji of the reviewer's country, to show next to their name.
locationCodestring | nullOptionalThe reviewer's country code, such as US.
formsReviewFormAnswers[]Answers to your custom questions, one entry per review form.
formIdstringThe form's id in the group's settings.storefront.forms.
answersReviewAnswer[]idstringThe question's id.
type"single-choice" | "multiple-choice" | "written-answer" | "date-input" | "files-input"labelstringThe question.
valuestring | string[]An option id for a single choice question, an array of option ids for multiple choice, an array of file URLs for a file question, otherwise the answer text.
displayValuestringThe answer as shoppers see it, such as the chosen option's label or a date such as May 1, 2026.
scale{ type: "position" | "score"; options: { id: string; label: string }[] }OptionalScale questions only: show the answer as a marker along the scale (position) or as a score such as 4 out of 5 (score).
user{ name: string | null } | nullWho wrote it: show user.name, such as Anna K., or Anonymous when there's no name.
verifiedbooleanWhether the reviewer bought the product. Your storefront shows a Verified buyer badge.
status"pending" | "approved" | "rejected"Only approved reviews appear on your storefront.
createdAtstringWhen the review was written, as an ISO 8601 date-time.
votesSummary{ upvoteCount: number; downvoteCount: number }How many customers found the review helpful, and how many didn't.
repliesCountnumberHow many replies the review has. getReviewDetails returns them.
mediaReviewMedia[]Photos and videos, in display order. Show them when the group's allowMedia is on.
type"image" | "video"smallstringURL of a thumbnail, at most 128 pixels wide or high. For a video, the video's URL.
largestringURL of the full-size photo, or of the video.
incentiveobject | nullThe reward the reviewer earned for the review, or null. Mark these reviews as incentivized when the group's showIncentivizedReviewBadge is on.
incentiveType"loyalty_points" | "coupon" | "free_product" | "other"loyalty_points for points, coupon for a discount or free shipping, free_product for a free gift.
rewardTypestringThe kind of reward, such as asset (points), discount, free-shipping or gift.
fieldsHighlights{ headline: string[]; body: string[]; pros: string[]; cons: string[] }OptionalWith a search: the search terms found in each field, in lowercase, to highlight them.
viewerVote"upvote" | "downvote" | nullThe signed-in customer's vote on the review; null when they haven't voted.
repliesReviewReply[]Your replies, oldest first. Your reviews widget signs them with the group's replyAuthorName, or Brand representative when it's empty.
reviewReplyIdstringcontent{ body: string }The reply.
createdAtstringWhen you replied, as an ISO 8601 date-time.
Deletes one of the customer's reviews.
The review leaves your storefront, and the customer can review the product again.
reviewGroupIdstringRequiredThe review's group, from getReviewGroups.
reviewIdstringRequiredNothing, once it's done.