Method: accounts.cssProductInputs.patch
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eThis page details how to update existing CSS Product inputs in your CSS Center account using the CSS API.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses the \u003ccode\u003ePATCH\u003c/code\u003e method with a specific URL structure, including path parameters to identify the CSS Product input to modify.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eupdateMask\u003c/code\u003e query parameter is used to specify which attributes of the CSS product should be updated, and omitting the update mask updates only populated fields.\u003c/p\u003e\n"],["\u003cp\u003eThe request and response bodies both use the \u003ccode\u003eCssProductInput\u003c/code\u003e format, as detailed in the linked documentation.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this API requires the \u003ccode\u003ehttps://www.googleapis.com/auth/content\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.cssProductInputs.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 the existing Css Product input in your CSS Center account.\n\nAfter inserting, updating, or deleting a CSS Product input, it may take several minutes before the processed Css Product can be retrieved.\n\n### HTTP request\n\n`PATCH https://css.googleapis.com/v1/{cssProductInput.name=accounts/*/cssProductInputs/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `cssProductInput.name` | `string` Identifier. The name of the CSS Product input. Format: `accounts/{account}/cssProductInputs/{cssProductInput}`, where the last section `cssProductInput` consists of 3 parts: contentLanguage\\~feedLabel\\~offerId. Example: accounts/123/cssProductInputs/de\\~DE\\~rawProvidedId123 |\n\n### Query parameters\n\n| Parameters ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `updateMask` | `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` The list of CSS product attributes to be updated. If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value). Attributes specified in the update mask without a value specified in the body will be deleted from the CSS product. Update mask can only be specified for top level fields in attributes and custom attributes. To specify the update mask for custom attributes you need to add the `custom_attribute.` prefix. Providing special \"\\*\" value for full CSS product replacement is not supported. |\n\n### Request body\n\nThe request body contains an instance of [CssProductInput](/comparison-shopping-services/api/reference/rest/v1/CssProductInput).\n\n### Response body\n\nIf successful, the response body contains an instance of [CssProductInput](/comparison-shopping-services/api/reference/rest/v1/CssProductInput).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/content`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]