Method: accounts.languages.productCertifications.patch
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह फ़ंक्शन, प्रॉडक्ट सर्टिफ़िकेट को अपडेट करता है. अगर allow_missing = true है, तो यह फ़ंक्शन एक नया प्रॉडक्ट सर्टिफ़िकेट बनाता है. यह फ़ंक्शन, सर्टिफ़िकेट को प्रॉडक्ट से लिंक करता है.
इस तरीके को सिर्फ़ सर्टिफ़िकेशन देने वाली संस्थाएं कॉल कर सकती हैं.
एचटीटीपी अनुरोध
PATCH https://manufacturers.googleapis.com/v1/{productCertification.name=accounts/*/languages/*/productCertifications/*}
यह यूआरएल, gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
पैरामीटर |
productCertification.name |
string
ज़रूरी है. प्रॉडक्ट सर्टिफ़िकेशन का यूनीक नेम आइडेंटिफ़ायर फ़ॉर्मैट: accounts/{account}/languages/{language_code}/productCertifications/{id} यहां id कोई यूनीक आइडेंटिफ़ायर है और language_code , https://support.google.com/merchants/answer/160637 के मुताबिक, Shopping में इस्तेमाल की जा सकने वाली भाषा का दो अक्षर वाला ISO 639-1 कोड है.
|
क्वेरी पैरामीटर
पैरामीटर |
updateMask |
string (FieldMask format)
ज़रूरी नहीं. aip.dev/134 के मुताबिक, अपडेट किए जाने वाले फ़ील्ड की सूची. हालांकि, फ़िलहाल सिर्फ़ पूरा अपडेट किया जा सकता है. इसलिए, इसे अनदेखा किया जा सकता है या "*" पर सेट किया जा सकता है. कोई अन्य वैल्यू सेट करने पर, UNIMPLEMENTED गड़बड़ी दिखेगी. यह फ़ील्ड के पूरी तरह से क्वालिफ़ाइड नामों की कॉमा से अलग की गई सूची है. उदाहरण: "user.displayName,photo" .
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में ProductCertification
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में ProductCertification
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के स्कोप
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/manufacturercenter
ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-17 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-17 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eUpdates a product certification linking certifications with products, accessible only by certification bodies.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes an HTTP PATCH request with the format \u003ccode\u003ePATCH https://manufacturers.googleapis.com/v1/{productCertification.name=accounts/*/languages/*/productCertifications/*}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eRequires a request body containing a \u003ccode\u003eProductCertification\u003c/code\u003e instance for updating.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/manufacturercenter\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eReturns the updated \u003ccode\u003eProductCertification\u003c/code\u003e instance in the response body upon successful completion.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.languages.productCertifications.patch\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUpdates (or creates if allow_missing = true) a product certification which links certifications with products.\n\nThis method can only be called by certification bodies.\n\n### HTTP request\n\n`PATCH https://manufacturers.googleapis.com/v1/{productCertification.name=accounts/*/languages/*/productCertifications/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `productCertification.name` | `string` Required. The unique name identifier of a product certification Format: accounts/{account}/languages/{language_code}/productCertifications/{id} Where `id` is a some unique identifier and `language_code` is a 2-letter ISO 639-1 code of a Shopping supported language according to \u003chttps://support.google.com/merchants/answer/160637\u003e. |\n\n### Query parameters\n\n| Parameters ||\n|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `updateMask` | `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` Optional. The list of fields to update according to aip.dev/134. However, only full update is supported as of right now. Therefore, it can be either ignored or set to \"\\*\". Setting any other values will returns UNIMPLEMENTED error. This is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`. |\n\n### Request body\n\nThe request body contains an instance of [ProductCertification](/manufacturers/reference/rest/v1/accounts.languages.productCertifications#ProductCertification).\n\n### Response body\n\nIf successful, the response body contains an instance of [ProductCertification](/manufacturers/reference/rest/v1/accounts.languages.productCertifications#ProductCertification).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/manufacturercenter`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]