query

Get Product Reviews

Query to fetch the published reviews and aggregate rating for a product.

Query

Overview

GetProductReviews is served by the Review APIReview APIServicev1.0.0The public-facing API for product reviews. Accepts review submissions, serves published reviews, and is the entry point ...Publishesreview-submitted, review-flagged +1Subscribessubmit-review, flag-review +2Ownerreviews-platformMapRepoView docs. It returns the published reviews for a product along with its aggregate rating, read from the Review DatabaseReview DatabaseContainerv1.0.0PostgreSQL database that is the system of record for reviews and their moderation state.MapView docs and the Rating CacheRating CacheContainerv1.0.0Redis cache that serves each product's aggregate star rating with low latency.MapView docs.

Architecture diagram

Event-driven architecture documentation: Acme Inc

JSON Schema

4 properties
productIdstring
required

The product to fetch reviews for.

pageinteger
Minimum: 1
pageSizeinteger
Minimum: 1
Maximum: 100
sortstring
Allowed values: newest highest lowest most_helpful