Method: products.get

  • Retrieves a specific product from a Merchant Center account using its unique product and merchant IDs.

  • Requires authorization using OAuth 2.0 with the https://www.googleapis.com/auth/content scope.

  • Utilizes an HTTP GET request with the product and merchant IDs specified as path parameters.

  • The response, upon success, provides a detailed representation of the product in JSON format as defined by the Product schema.

  • No request body is needed for this operation.

Retrieves a product from your Merchant Center account.

HTTP request

GET https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/products/{productId}

Path parameters

Parameters
merchantId

string

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

productId

string

The REST ID of the product.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Product .

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the OAuth 2.0 Overview .

Design a Mobile Site
View Site in Mobile | Classic
Share by: