Method: accounts.languages.productCertifications.patch
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
อัปเดต (หรือสร้างหาก allow_missing = true) การรับรองผลิตภัณฑ์ซึ่งลิงก์การรับรองกับผลิตภัณฑ์
เฉพาะหน่วยรับรองเท่านั้นที่เรียกใช้วิธีนี้ได้
คำขอ HTTP
PATCH https://manufacturers.googleapis.com/v1/{productCertification.name=accounts/*/languages/*/productCertifications/*}
URL ใช้ไวยากรณ์การแปลงรหัส gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
productCertification.name |
string
ต้องระบุ ตัวระบุชื่อที่ไม่ซ้ำของการรับรองผลิตภัณฑ์ รูปแบบ: accounts/{account}/languages/{language_code}/productCertifications/{id} โดยที่ id คือตัวระบุที่ไม่ซ้ำ และ language_code คือรหัส ISO 639-1 แบบ 2 ตัวอักษรของภาษาที่ Shopping รองรับตาม https://support.google.com/merchants/answer/160637
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
updateMask |
string (FieldMask format)
ไม่บังคับ รายการช่องที่จะอัปเดตตาม aip.dev/134 อย่างไรก็ตาม ขณะนี้ระบบรองรับเฉพาะการอัปเดตแบบเต็ม ดังนั้น คุณจึงอาจไม่สนใจหรือตั้งค่าเป็น "*" ก็ได้ การตั้งค่าอื่นๆ จะแสดงข้อผิดพลาด UNIMPLEMENTED ซึ่งเป็นรายการชื่อฟิลด์แบบสมบูรณ์ในตัวเองที่คั่นด้วยคอมมา ตัวอย่าง: "user.displayName,photo"
|
เนื้อความของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ ProductCertification
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ ProductCertification
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/manufacturercenter
ดูข้อมูลเพิ่มเติมได้ที่OAuth 2.0 Overview
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 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)."]]