Version v2 of the Content API is scheduled for sunset on September 30th, 2021. Onboarding to v2 ended on April 30, 2021. To avoid disruptions with your integration, please migrate to v2.1 as soon as possible.

For more information, see Migrating to v2.1 and this blog post.

REST Resource: accounts.returncarrier

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.