Rating
Get product rating
Changed onRetrieves the rating of a product.
Permissions
This endpoint does not require permissions.
get/reviews-and-ratings/api/rating/{productId}
Request
- Base URLhttps://storecomponents.myvtex.com
- URLhttps://storecomponents.myvtex.com/reviews-and-ratings/api/rating/{productId}
- Auth
- API key in header X-VTEX-API-AppKey and API key in header X-VTEX-API-AppToken
- or API key in header VtexIdclientAutCookie
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
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
endpoint added
- info