Method: accounts.productInputs.delete
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-01-23 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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)."]]