Method: products.delete

Deletes a product from your Merchant Center account.

HTTP request

DELETE https://www.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.

Request body

The request body must be empty.

Response body

If successful, the response body will be empty.

Authorization Scopes

Requires one of the following OAuth scopes:

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

For more information, see the OAuth 2.0 Overview.

Try it!