All Release Notes
Added GraphQL support for ReviewRatingStatistics
17 December 2019
Composable Commerce
HTTP API
Enhancement
GraphQLProduct catalog
It is now possible to retrieve ReviewRatingStatistics on Products and Channels via GraphQL API.
- [GraphQL API] Added the following types to the GraphQL schema:
ReviewRatingStatistics
. - [GraphQL API] Changed the
Channel
type:- Added the
reviewRatingStatistics
field to theChannel
type.
- Added the
- [GraphQL API] Changed the
Product
type:- Added the
reviewRatingStatistics
field to theProduct
type.
- Added the
Introduced the following changes to the GraphQL schema (in SDL format):
extend type Channel {reviewRatingStatistics: ReviewRatingStatistics}extend type Product {reviewRatingStatistics: ReviewRatingStatistics}type ReviewRatingStatistics {averageRating: Float!highestRating: Int!lowestRating: Int!count: Long!ratingsDistribution: Json!}