Method: products.get
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-30 UTC.
[null,null,["Last updated 2025-01-30 UTC."],[[["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."]]],[]]