Method: accounts.products.list

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

string

Required. The account to list processed products for. Format: accounts/{account}

Query parameters

Parameters
pageSize

integer

The maximum number of products to return. The service may return fewer than this value. The maximum value is 250; values above 250 will be coerced to 250. If unspecified, the maximum number of products will be returned.

pageToken

string

A page token, received from a previous products.list call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to products.list must match the call that provided the page token.

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 (Product)
    }
  ],
  "nextPageToken": string
}
Fields
products[]

object (Product)

The processed products from the specified account. These are your processed products after applying rules and supplemental data sources.

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.