GET https://shoppingcontent.googleapis.com/content/v2.1/merchantId/products/productId
पुष्टि करें कि आपको HTTP 200 स्थिति कोड और
प्रॉडक्ट.
प्रॉडक्ट अपडेट करें
किसी प्रॉडक्ट के लिए नया JSON बनाएं. उदाहरण के लिए,
JSON को availability: in stock, availability: out of stock के लिए
प्रॉडक्ट का इस्तेमाल किया गया था, जिसका इस्तेमाल आपने insert कॉल की जांच करने के लिए किया था.
POST https://shoppingcontent.googleapis.com/content/v2.1/merchantId/products
पुष्टि करें कि आपको HTTP 200 स्टेटस कोड मिल रहा है. कम से कम पांच बजे के बाद
मिनट, अपडेट की गई वैल्यू की पुष्टि करने के लिए, get का दूसरा अनुरोध किया जा सकता है.
availability: out of stock को लागू किया गया.
[null,null,["आखिरी बार 2024-08-22 (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."]]],["To add a product, create valid JSON for it, then send an `insert` request via POST with the data and merchant ID, expecting an `HTTP 200` response. To view, send a `get` request via GET with the merchant ID and product ID, confirming an `HTTP 200` status and the JSON. To update, create new JSON, make an `insert` POST request, and verify `HTTP 200` then check with `get`. To delete, send a `delete` request via DELETE with the ID, verifying an `HTTP 204` status.\n"]]