REST Resource: accounts.returncarrier

  • This service allows Buy on Google merchants to manage return carriers, such as FedEx and UPS, linked to their accounts.

  • It provides methods for creating, deleting, listing, and updating return carrier information.

  • Each carrier is identified by a unique carrierCode and includes account details like carrierAccountId, carrierAccountNumber, and carrierAccountName.

  • Merchants can use this service to streamline return processes and integrate with their preferred carriers.

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

create

Links return carrier to a merchant account.

delete

Delete a return carrier in the merchant account.

list

Lists available return carriers in the merchant account.

patch

Updates a return carrier in the merchant account.