v50

latestOpenAPI 3.0.0raw.githubusercontent.com2026-05-188265.3 KB
Rating

Get product rating

Retrieves the rating of a product.

Permissions

This endpoint does not require permissions.

get/reviews-and-ratings/api/rating/{productId}

Path parameters

productIdstring required
Example:1

Product ID.

Headers

Content-Typestring required

Describes the type of the content being sent.

Acceptstring required

HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.

Response

OK

averagenumber

Average rating of the product.

totalCountnumber

Total amount of ranting of the product.

starsFivenumber

Total five-star ratings received by the product.

starsFournumber

Total four-star ratings received by the product.

starsThreenumber

Total three-star ratings received by the product.

starsTwonumber

Total two-star ratings received by the product.

starsOnenumber

Total one-star ratings received by the product.

All 8 operations