Method: accounts.productInputs.delete

Deletes a product input from your Merchant Center account.

After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved.

HTTP request

DELETE https://merchantapi.googleapis.com/products/v1/{name=accounts/*/productInputs/*}

The URL uses gRPC Transcoding syntax.

Path parameters

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

Query parameters

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

productIdBase64UrlEncoded

boolean

Optional. If true, the {productInput} in the name field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is false. Use this if your {productInput} contains special characters, such as forward slash / or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2).

Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to true and encoding the product ids.

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.