ProductReviewSummary
Aggregated rating data for a product.
type ProductReviewSummary implements Node {
id: ID!
averageRating: PositiveDecimal
reviewCount: Int!
ratingDistribution: [RatingDistributionBucket!]!
}
Fields
ProductReviewSummary.id ● ID! non-null scalar
The Globally Unique ID of this object
ProductReviewSummary.averageRating ● PositiveDecimal scalar
Mean rating from 1 to 5. Null means no reviews have been collected yet, which is distinct from a genuine average of zero.
ProductReviewSummary.reviewCount ● Int! non-null scalar
Total number of reviews counted in the average.
ProductReviewSummary.ratingDistribution ● [RatingDistributionBucket!]! non-null object
Star histogram, ascending by rating. Only ratings 1 through 5 are reported; ratings with no reviews are omitted.
Interfaces
Node interface
An object with a Globally Unique ID
Member Of
Product object