Method: returnpolicyonline.delete

  • Permanently deletes an existing online return policy for a specific merchant using a DELETE request.

  • Requires specifying the merchantId and returnPolicyId as path parameters in the request URL.

  • The request body should be empty, and a successful deletion results in an empty response body.

  • Authorization is necessary using OAuth 2.0 with the https://www.googleapis.com/auth/content scope.

Deletes an existing return policy.

HTTP request

DELETE https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/returnpolicyonline/{returnPolicyId}

Path parameters

Parameters
merchantId

string (int64 format)

Required. The id of the merchant for which to retrieve the return policy online object.

returnPolicyId

string

Required. The id of the return policy to delete.

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the OAuth 2.0 Overview.