---
title: "Get Product Rating Summary"
method: GET
path: "/v1/products/{product_id}/ratings"
tags: ["Reviews"]
---

# Get Product Rating Summary

`GET /v1/products/{product_id}/ratings`

## Request

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

## Path parameters

- `product_id` integer, required

## Response `200`

Successful Response

- ProductRatingSummary
  - `product_id` integer, required
  - `total_ratings` integer, required
  - `average_rating` number, nullable
  - `rating_distribution` object

## 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)
