The Content API Supplemental Feed ID. If present then product deletion applies to the data in a supplemental feed. If absent, entire product will be deleted.
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-25 UTC."],[[["\u003cp\u003ePermanently deletes a specified product from your Merchant Center account using the \u003ccode\u003eDELETE\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eRequires your \u003ccode\u003emerchantId\u003c/code\u003e, \u003ccode\u003eproductId\u003c/code\u003e, and optionally a \u003ccode\u003efeedId\u003c/code\u003e for supplemental feed deletions.\u003c/p\u003e\n"],["\u003cp\u003eAn empty request body is necessary, and a successful deletion results in an empty response body.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes the \u003ccode\u003ehttps://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/products/{productId}\u003c/code\u003e endpoint for the operation.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/content\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This document details the process of deleting a product from a Merchant Center account via an HTTP DELETE request. The request is made to a specific URL including `merchantId` and `productId` as path parameters. An optional `feedId` can be included as a query parameter to delete data from a supplemental feed. The request body must be empty, and a successful response will be an empty JSON object. The request needs `https://www.googleapis.com/auth/content` OAuth scope for authorization.\n"],null,["# Method: products.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 from your Merchant Center account.\n\n### HTTP request\n\n`DELETE https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/products/{productId}`\n\n### Path parameters\n\n| Parameters ||\n|--------------|----------------------------------------------------------------------------------------------------------|\n| `merchantId` | `string` The ID of the account that contains the product. This account cannot be a multi-client account. |\n| `productId` | `string` The [REST ID](/shopping-content/v2/reference/v2.1/products#id) of the product. |\n\n### Query parameters\n\n| Parameters ||\n|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `feedId` | `string` The Content API Supplemental Feed ID. If present then product deletion applies to the data in a supplemental feed. If absent, entire product will be deleted. |\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 one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/content`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]