Method: accounts.returncarrier.delete
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-25 UTC.
[null,null,["Last updated 2025-02-25 UTC."],[[["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."]]],["This document details the process for deleting a return carrier from a merchant account. The core action is executing a `DELETE` HTTP request to a specific endpoint: `https://shoppingcontent.googleapis.com/content/v2.1/accounts/{accountId}/returncarrier/{carrierAccountId}`. This requires providing the `accountId` and `carrierAccountId` as path parameters. The request body must be empty. Successful deletion results in an empty JSON response. The action requires OAuth scope: `https://www.googleapis.com/auth/content`.\n"]]