Method: accounts.productInputs.delete
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-01-23 UTC
[null,null,["อัปเดตล่าสุด 2025-01-23 UTC"],[[["\u003cp\u003ePermanently deletes a specific product input from your Merchant Center account using a DELETE request.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying the product input's name in the URL path, including account, channel, content language, feed label, and offer ID.\u003c/p\u003e\n"],["\u003cp\u003eNeeds the data source (primary or supplemental) to be identified in the query parameters for targeted deletion.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes OAuth 2.0 for authorization and mandates the \u003ccode\u003ehttps://www.googleapis.com/auth/content\u003c/code\u003e scope for access.\u003c/p\u003e\n"],["\u003cp\u003eChanges may take several minutes to reflect and retrieve the processed product after the deletion.\u003c/p\u003e\n"]]],["This document details how to delete a product input from a Merchant Center account. The `DELETE` request is sent to a specific URL using gRPC Transcoding syntax. The `name` path parameter, formatted as `accounts/{account}/productInputs/{product}`, identifies the product. The `dataSource` query parameter, formatted as `accounts/{account}/dataSources/{datasource}`, specifies the data source. The request body must be empty, and a successful response returns an empty JSON object. Authorization requires the `https://www.googleapis.com/auth/content` OAuth scope.\n"],null,["# Method: accounts.productInputs.delete\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\nDeletes a product input from your Merchant Center account.\n\nAfter inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved.\n\n### HTTP request\n\n`DELETE https://merchantapi.googleapis.com/products/v1beta/{name=accounts/*/productInputs/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the product input resource to delete. Format: `accounts/{account}/productInputs/{product}` where the last section `product` consists of: `contentLanguage~feedLabel~offerId` example for product name is `accounts/123/productInputs/en~US~sku123`. |\n\n### Query parameters\n\n| Parameters ||\n|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `dataSource` | `string` Required. The primary or supplemental data source from which the product input should be deleted. Format: `accounts/{account}/dataSources/{datasource}`. For example, `accounts/123456/dataSources/104628`. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\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)."]]