products

GET /{merchantId}/products

Lists the products in your Merchant Center account. The response might contain fewer items than specified by maxResults. Rely on nextPageToken to determine if there are more items to be requested.

Request

  • Base URL
    https://shoppingcontent.googleapis.com/content/v2.1
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/content
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/content
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

merchantIdstring required

The ID of the account that contains the products. This account cannot be a multi-client account.

Query parameters

maxResultsinteger

The maximum number of products to return in the response, used for paging. The default value is 25. The maximum value is 250.

pageTokenstring

The token returned by the previous request.

Response

Successful response

nextPageTokenstring

The token for the retrieval of the next page of products.

kindstring

Identifies what kind of resource this is. Value: the fixed string "content#productsListResponse".

Changes

No recorded changes to this operation across all 1 revision of this API.