Przejdź do głównej zawartości

ReviewStats

Product review statistics

type ReviewStats {
averageRating: Float!
fiveStarCount: Int!
fourStarCount: Int!
oneStarCount: Int!
threeStarCount: Int!
totalCount: Int!
twoStarCount: Int!
}

Fields

ReviewStats.averageRating ● Float! non-null scalar

Average rating

ReviewStats.fiveStarCount ● Int! non-null scalar

5-star count

ReviewStats.fourStarCount ● Int! non-null scalar

4-star count

ReviewStats.oneStarCount ● Int! non-null scalar

1-star count

ReviewStats.threeStarCount ● Int! non-null scalar

3-star count

ReviewStats.totalCount ● Int! non-null scalar

Total reviews

ReviewStats.twoStarCount ● Int! non-null scalar

2-star count

Returned By

reviewStats query