Update a connection
PATCH/v1/connections/:id
Update a carrier connection.
Request
Path Parameters
- application/json
Body
- zoom2u
- usps_wt_international
- usps_wt
- usps_international
- usps
- ups
- tnt
- tge
- sendle
- seko
- sapient
- royalmail
- roadie
- purolator
- nationex
- locate2u
- laposte
- hay_post
- geodis
- generic
- freightcom
- fedex_ws
- fedex
- eshipper
- easyship
- easypost
- dpdhl
- dpd
- dicom
- dhl_universal
- dhl_poland
- dhl_parcel_de
- dhl_express
- colissimo
- chronopost
- canpar
- canadapost
- bpost
- boxknight
- australiapost
- asendia_us
- aramex
- amazon_shipping
- allied_express_local
- allied_express
Possible values: [allied_express
, allied_express_local
, amazon_shipping
, aramex
, asendia_us
, australiapost
, boxknight
, bpost
, canadapost
, canpar
, chronopost
, colissimo
, dhl_express
, dhl_parcel_de
, dhl_poland
, dhl_universal
, dicom
, dpd
, dpdhl
, easypost
, easyship
, eshipper
, fedex
, fedex_ws
, freightcom
, generic
, geodis
, hay_post
, laposte
, locate2u
, nationex
, purolator
, roadie
, royalmail
, sapient
, seko
, sendle
, tge
, tnt
, ups
, usps
, usps_international
, usps_wt
, usps_wt_international
, zoom2u
]
A carrier connection type.
A carrier connection friendly name.
credentials
object
oneOf
Possible values: [DX
, EVRI
, RM
, UPS
, YODEL
]
Indicates a sapient_carrier_code string
Possible values: [en
, fr
]
Indicates a language string
Possible values: [en
, fr
]
Indicates a language string
Possible values: [fr_FR
, en_US
]
Indicates a lang string
Possible values: [fr
, en
]
Indicates a language string
Default value: en
Default value: en_EN
Default value: BE
Possible values: [en
, de
]
Indicates a language string
Default value: CHRFR
Possible values: [en_GB
, fr_FR
]
Indicates a language string
Possible values: [en
, fr
]
Indicates a language string
Possible values: [en
, fr
]
Indicates a language string
Default value: us-east-1
Possible values: [R
, P
, PT
, PT2
]
Indicates a service_type string
Possible values: [R
, P
, PT
, PT2
]
Indicates a service_type string
The carrier enabled capabilities.
config
object
Carrier connection custom config.
Default value: [object Object]
Carrier connection custom config.
metadata
object
User metadata for the carrier.
Default value: [object Object]
User metadata for the carrier.
Default value: true
The active flag indicates whether the carrier account is active or not.
Responses
- 200
- 400
- 404
- 500
- application/json
- Schema
- Example (from schema)
Schema
- zoom2u
- usps_wt_international
- usps_wt
- usps_international
- usps
- ups
- tnt
- tge
- sendle
- seko
- sapient
- royalmail
- roadie
- purolator
- nationex
- locate2u
- laposte
- hay_post
- geodis
- generic
- freightcom
- fedex_ws
- fedex
- eshipper
- easyship
- easypost
- dpdhl
- dpd
- dicom
- dhl_universal
- dhl_poland
- dhl_parcel_de
- dhl_express
- colissimo
- chronopost
- canpar
- canadapost
- bpost
- boxknight
- australiapost
- asendia_us
- aramex
- amazon_shipping
- allied_express_local
- allied_express
A unique carrier connection identifier
Default value: carrier-connection
Specifies the object type
Possible values: [allied_express
, allied_express_local
, amazon_shipping
, aramex
, asendia_us
, australiapost
, boxknight
, bpost
, canadapost
, canpar
, chronopost
, colissimo
, dhl_express
, dhl_parcel_de
, dhl_poland
, dhl_universal
, dicom
, dpd
, dpdhl
, easypost
, easyship
, eshipper
, fedex
, fedex_ws
, freightcom
, generic
, geodis
, hay_post
, laposte
, locate2u
, nationex
, purolator
, roadie
, royalmail
, sapient
, seko
, sendle
, tge
, tnt
, ups
, usps
, usps_international
, usps_wt
, usps_wt_international
, zoom2u
]
A carrier connection type.
The carrier connection type verbose name.
A carrier connection friendly name.
credentials
object
oneOf
Possible values: [DX
, EVRI
, RM
, UPS
, YODEL
]
Indicates a sapient_carrier_code string
Possible values: [en
, fr
]
Indicates a language string
Possible values: [en
, fr
]
Indicates a language string
Possible values: [fr_FR
, en_US
]
Indicates a lang string
Possible values: [fr
, en
]
Indicates a language string
Default value: en
Default value: en_EN
Default value: BE
Possible values: [en
, de
]
Indicates a language string
Default value: CHRFR
Possible values: [en_GB
, fr_FR
]
Indicates a language string
Possible values: [en
, fr
]
Indicates a language string
Possible values: [en
, fr
]
Indicates a language string
Default value: us-east-1
Possible values: [R
, P
, PT
, PT2
]
Indicates a service_type string
Possible values: [R
, P
, PT
, PT2
]
Indicates a service_type string
The carrier enabled capabilities.
config
object
Carrier connection custom config.
Default value: [object Object]
Carrier connection custom config.
metadata
object
User metadata for the carrier.
Default value: [object Object]
User metadata for the carrier.
The carrier connection is provided by the system admin.
The active flag indicates whether the carrier account is active or not.
The test flag indicates whether to use a carrier configured for test.
{
"id": "string",
"object_type": "carrier-connection",
"carrier_name": "allied_express",
"display_name": "string",
"carrier_id": "string",
"credentials": {
"api_key": "string"
},
"capabilities": [
"string"
],
"config": {},
"metadata": {},
"is_system": true,
"active": true,
"test_mode": true
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
The list of API errors
The error or warning message
The message code
details
object
any additional details
any additional details
{
"errors": [
{
"message": "string",
"code": "string",
"details": {}
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
The list of API errors
The error or warning message
The message code
details
object
any additional details
any additional details
{
"errors": [
{
"message": "string",
"code": "string",
"details": {}
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
The list of API errors
The error or warning message
The message code
details
object
any additional details
any additional details
{
"errors": [
{
"message": "string",
"code": "string",
"details": {}
}
]
}