Ratings

AbstractCollection

A generic collection of elements.

RatingSummary

object

Aggregation with count and average of ratings for a given object.

This model is used to save ratings in the database and to display ratings of items (product, etc.) in the API.

averagenumber(float)
countinteger
item_idstring
modifiedstring(date-time)

Last modified date.

typestringrequired

Average rating on the given item.

Example

RatingSummaryCollection

object

A collection rating summaries.

rating_summariesarray[object]required

Aggregation with count and average of ratings for a given object.

This model is used to save ratings in the database and to display ratings of items (product, etc.) in the API.

Show Child Parameters
Example