rocket
Meet
Merchant API
- the official successor to Content API for Shopping.
update
Get the latest
on new Merchant API features, bug fixes, and updates.
add_alert
Note: Content API for Shopping will be sunset on August 18, 2026.
REST Resource: accounts.returncarrier
Stay organized with collections
Save and categorize content based on your preferences.
Resource: AccountReturnCarrier
The return carrier information.
This service is designed for merchants enrolled in the Buy on Google
program.
JSON representation |
{
"carrierAccountId": string,
"carrierAccountNumber": string,
"carrierAccountName": string,
"carrierCode": enum (CarrierCode )
} |
Fields |
carrierAccountId |
string (int64 format)
Output only. Immutable. The Google-provided unique carrier ID, used to update the resource.
|
carrierAccountNumber |
string
Number of the carrier account.
|
carrierAccountName |
string
Name of the carrier account.
|
carrierCode |
enum (CarrierCode )
The carrier code enum. Accepts the values FEDEX or UPS.
|
CarrierCode
The carrier code
Each carrier in an account must have a unique CarrierCode.
Enums |
CARRIER_CODE_UNSPECIFIED |
Carrier not specified |
FEDEX |
FedEx carrier |
UPS |
UPS carrier |
Methods |
|
Links return carrier to a merchant account. |
|
Delete a return carrier in the merchant account. |
|
Lists available return carriers in the merchant account. |
|
Updates a return carrier in the merchant account. |
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."],[[["\u003cp\u003eThis service allows Buy on Google merchants to manage return carriers, such as FedEx and UPS, linked to their accounts.\u003c/p\u003e\n"],["\u003cp\u003eIt provides methods for creating, deleting, listing, and updating return carrier information.\u003c/p\u003e\n"],["\u003cp\u003eEach carrier is identified by a unique \u003ccode\u003ecarrierCode\u003c/code\u003e and includes account details like \u003ccode\u003ecarrierAccountId\u003c/code\u003e, \u003ccode\u003ecarrierAccountNumber\u003c/code\u003e, and \u003ccode\u003ecarrierAccountName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eMerchants can use this service to streamline return processes and integrate with their preferred carriers.\u003c/p\u003e\n"]]],["This service manages return carrier information for merchants in the Buy on Google program. Key data includes the carrier's account ID, number, name, and code (either FEDEX or UPS). Each carrier must have a unique code. Available actions include creating, deleting, listing, and updating return carriers. Carrier Account ID is uniquely provided by Google, while other fields are defined by the merchant. Carrier information can be managed through specified methods.\n"],null,["# REST Resource: accounts.returncarrier\n\n- [Resource: AccountReturnCarrier](#AccountReturnCarrier)\n - [JSON representation](#AccountReturnCarrier.SCHEMA_REPRESENTATION)\n- [CarrierCode](#CarrierCode)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AccountReturnCarrier\n------------------------------\n\nThe return carrier information.\n\nThis service is designed for merchants enrolled in the Buy on Google\nprogram.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"carrierAccountId\": string, \"carrierAccountNumber\": string, \"carrierAccountName\": string, \"carrierCode\": enum (/shopping-content/reference/rest/v2.1/accounts.returncarrier#CarrierCode) } ``` |\n\n| Fields ||\n|------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `carrierAccountId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. Immutable. The Google-provided unique carrier ID, used to update the resource. |\n| `carrierAccountNumber` | `string` Number of the carrier account. |\n| `carrierAccountName` | `string` Name of the carrier account. |\n| `carrierCode` | `enum (`[CarrierCode](/shopping-content/reference/rest/v2.1/accounts.returncarrier#CarrierCode)`)` The carrier code enum. Accepts the values FEDEX or UPS. |\n\nCarrierCode\n-----------\n\nThe carrier code\n\nEach carrier in an account must have a unique CarrierCode.\n\n\u003cbr /\u003e\n\n| Enums ||\n|----------------------------|-----------------------|\n| `CARRIER_CODE_UNSPECIFIED` | Carrier not specified |\n| `FEDEX` | FedEx carrier |\n| `UPS` | UPS carrier |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------------|----------------------------------------------------------|\n| ### [create](/shopping-content/reference/rest/v2.1/accounts.returncarrier/create) | Links return carrier to a merchant account. |\n| ### [delete](/shopping-content/reference/rest/v2.1/accounts.returncarrier/delete) | Delete a return carrier in the merchant account. |\n| ### [list](/shopping-content/reference/rest/v2.1/accounts.returncarrier/list) | Lists available return carriers in the merchant account. |\n| ### [patch](/shopping-content/reference/rest/v2.1/accounts.returncarrier/patch) | Updates a return carrier in the merchant account. |"]]