AI-generated Key Takeaways
-
Lists processed products within your Merchant Center account, potentially requiring pagination for comprehensive retrieval.
-
Allows you to control the number of products returned per request using
pageSize
, with a maximum limit of 250. -
Utilizes
pageToken
for navigating through multiple pages of results when the product list exceeds the specifiedpageSize
. -
Requires authorization with the
https://www.googleapis.com/auth/content
scope for accessing and retrieving product data. -
Provides product data in JSON format, including an array of
products
and anextPageToken
for pagination.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists the processed products in your Merchant Center account. The response might contain fewer items than specified by pageSize
. Rely on pageToken
to determine if there are more items to be requested.
After inserting, updating, or deleting a product input, it may take several minutes before the updated processed product can be retrieved.
HTTP request
GET https://merchantapi.googleapis.com/products/v1beta/{parent=accounts/*}/products
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The account to list processed products for. Format: |
Query parameters
Parameters | |
---|---|
pageSize |
The maximum number of products to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000. If unspecified, the default page size of 25 products will be returned. |
pageToken |
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 products.list method.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"products": [
{
object ( |
Fields | |
---|---|
products[] |
The processed products from the specified account. These are your processed products after applying rules and supplemental data sources. |
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.