Method: products.delete

Deletes a product from your Merchant Center account.

HTTP request

DELETE https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/products/{productId}

Path parameters

Parameters
merchantId

string

The ID of the account that contains the product. This account cannot be a multi-client account.

productId

string

The REST ID of the product.

Query parameters

Parameters
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.

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/content

For more information, see the OAuth 2.0 Overview.