AI-generated Key Takeaways
-
Lists product reviews for a specified Merchant Center account using the
productReviews.list
method. -
Accepts optional pagination parameters (
pageSize
,pageToken
) to control the results. -
Returns a list of
ProductReview
objects and anextPageToken
for accessing further pages, if available. -
Requires authorization with the
https://www.googleapis.com/auth/content
scope. -
Uses a simple GET request with path and query parameters.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists product reviews.
HTTP request
GET https://merchantapi.googleapis.com/reviews/v1beta/{parent=accounts/*}/productReviews
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The account to list product reviews for. Format: accounts/{account} |
Query parameters
Parameters | |
---|---|
pageSize |
Optional. The maximum number of products to return. The service may return fewer than this value. |
pageToken |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
Request body
The request body must be empty.
Response body
response message for the productReviews.list method.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"productReviews": [
{
object ( |
Fields | |
---|---|
productReviews[] |
The product review. |
nextPageToken |
A token, which can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.