Skip to content
shopdepot.dev

Reference

reviews

Reviews of an offer, from every channel the products are sold in.

View as Markdown

Generated from the platform code - always matches what the theme engine allows.

Reviews of an offer, from every channel the products are sold in. Only on the offer page, as product.reviews.

Available on: offer page.

Properties

Property Type Description
reviews.count number Number of published reviews.
reviews.average number or null Average rating from 1 to 5.
reviews.distribution list Ratings from 5 to 1 with a percentage for the bar - a list of { rating, count, percent }.
reviews.items list of review The latest published reviews.
reviews.highlights list Summaries of the merchant's review questions, for example "taste - sweet 83%".