---
title: "Get Store Rating Summary"
method: GET
path: "/v1/stores/{store_id}/ratings"
tags: ["Store Reviews"]
---

# Get Store Rating Summary

`GET /v1/stores/{store_id}/ratings`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/v1/stores/{store_id}/ratings`
- Auth: none declared

Get aggregated rating statistics for a store.

## Path parameters

- `store_id` integer, required

## Response `200`

Successful Response

- StoreRatingSummary: Aggregated rating statistics for a store.
  - `store_id` integer, required
  - `total_reviews` integer, required
  - `average_rating` number, nullable
  - `rating_distribution` object: Distribution of ratings: {1: count, 2: count, ..., 5: count}

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/rubenayla/apis/partle-api.md) · [All operations](https://skmtc.dev/rubenayla/apis/partle-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rubenayla/apis/partle-api/revisions/628cce2acee5?raw)
