GET https://shoppingcontent.googleapis.com/content/v2.1/merchantId/products/productId
Verify that you receive an HTTP 200 status code, and the JSON data for the
product.
Update a product
Construct the new JSON for a product. For example, change a single field in
the JSON availability: in stock, to availability: out of stock for the
product you used to test the insert call.
Make an insert
request
with the new product data and your merchant ID:
POST https://shoppingcontent.googleapis.com/content/v2.1/merchantId/products
Verify that you receive an HTTP 200 status code. After at least five
minutes, you can make another get request to confirm the updated value,
availability: out of stock, was applied.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-16 UTC."],[[["This page provides examples of how to interact with the `products` resource using the Content API for Shopping."],["You can add a new product by constructing valid JSON and making an `insert` request."],["View an existing product using a `get` request with your merchant ID and the product ID."],["Update a product's information by making an `insert` request with the updated JSON data."],["Delete a product using a `delete` request with your merchant ID and the product ID."]]],[]]