Skip to content
snapcasterDevelopers

ReviewScore

A store’s live Review score and the count it is drawn from, always together so a low-sample score reads as low-sample. Computed per request and never indexed. A store with no reviews carries `{ score: null, count: 0 }` — never a 0.0 — and a `manual` (handoff) store, unreviewable in v1, reads the same way. Shared by the Seller page and the Product-page offers.

Type: object

Fields

FieldTypeConstraintsMeaningExample
scorerequirednumber or nullNoneMean of current non-hidden ratings, rounded to 2 decimals. `null` — NOT 0 — when the store has no reviews yet, so a new store is never shown as a 0.0-rated one.0 (generated)
countrequiredintegerNoneHow many current non-hidden Reviews the mean is drawn from.0 (generated)

Examples

Generated Schema example: Generated ReviewScore
{
"score": 0,
"count": 0
}

Source commit: 64bff06fe339e6ffa0ef24cd7da55cb3efefefb9