Method: accounts.returncarrier.delete

  • This operation allows deletion of a return carrier linked to a specific Merchant Center account using the DELETE method.

  • The request requires two path parameters: accountId to identify the Merchant Center account and carrierAccountId to specify the return carrier to be deleted.

  • An empty request body is necessary, and a successful deletion results in an empty response body.

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

Delete a return carrier in the merchant account.

HTTP request

DELETE https://shoppingcontent.googleapis.com/content/v2.1/accounts/{accountId}/returncarrier/{carrierAccountId}

Path parameters

Parameters
accountId

string (int64 format)

Required. The Merchant Center Account Id under which the Return Carrier is to be linked.

carrierAccountId

string (int64 format)

Required. The Google-provided unique carrier ID, used to update the resource.

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.