Get content reviews

get /text/Review
This endpoint retrieves reviews based on the provided recordId. It allows you to fetch reviews for products or categories and filter by specific parameters such as language, storeId, and more.

Requirements

Authentication Required
Bearer access_token
Request Headers
Authorization: Bearer access_token
Parameter Name Type Description
id string, optional An optional review identifier. If specified, only the review with this ID will be returned.
type string, required Specifies whether the review is for a Product or a Category. This is a required parameter.
language string, optional The language of the review, defined as a two-letter code (e.g., en for English). This is optional and defaults to en if not specified.
storeId string, optional The storefront ID, which is optional. If specified, it filters the reviews by the given storefront ID.
recordId string, required The unique identifier of the product or category for which reviews are being fetched. 
all boolean, optional A boolean flag to fetch all active reviews if set to true.

Example API Request

Response

200
400
404
500
//The request was successful, and reviews are returned to the response.
//This error occurs when the request is incorrectly formatted, or required parameters are missing.
//This error occurs if the requested resource (e.g., review or record) cannot be found.
//The server encountered an error when processing the request.