accounts

POST /accounts/{accountId}/returncarrier

Links return carrier to a merchant account.

Request

  • Base URL
    https://shoppingcontent.googleapis.com/content/v2.1
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/content
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/content
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

accountIdstring required

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

Request body

carrierAccountNamestring

Name of the carrier account.

carrierAccountIdstring int64

Output only. Immutable. The Google-provided unique carrier ID, used to update the resource.

carrierAccountNumberstring

Number of the carrier account.

carrierCode'CARRIER_CODE_UNSPECIFIED' | 'FEDEX' | 'UPS'

The carrier code enum. Accepts the values FEDEX or UPS.

Response

Successful response

carrierAccountNamestring

Name of the carrier account.

carrierAccountIdstring int64

Output only. Immutable. The Google-provided unique carrier ID, used to update the resource.

carrierAccountNumberstring

Number of the carrier account.

carrierCode'CARRIER_CODE_UNSPECIFIED' | 'FEDEX' | 'UPS'

The carrier code enum. Accepts the values FEDEX or UPS.

Changes

No recorded changes to this operation across all 1 revision of this API.