Create Carrier Connection
Authentication
Request
The connection object varies by carrier.
The connection object varies by carrier.
Creates a Carrier Connection.
Carrier connections refer to specific settings required to connect to a specific shipping carrier. Each carrier requires your app to supply a unique set of properties/fields to establish a connection with that carrier.
Notes:
There is no GET with this resource. It has PUT, POST and DELETE.
PUT is used to update. The connection can be updated by API.Connections created here do not enable the shipping method. To enable the carrier for a shipping zone, use the Shipping Methods API.
The Carrier Connection resource returns a 204 for both successful and unsuccessful attempts to connect. If a field is missing, it will return a 400.
PUT or POST example request:
DELETE example request:
Australia Post PUT or POST requests require all of the following properties. (These requests won’t be fulfilled unless these properties are valid.) DELETE requests require only a carrier_id.
USPS is connected through Endicia.
PUT or POST example request:
DELETE example request:
Endicia PUT or POST requests require all of the following properties. (These requests won’t be fulfilled unless these properties are valid.) DELETE requests require only a carrier_id.
PUT or POST example request:
DELETE example request:
FedEx PUT or POST requests require all of the following properties. (These requests won’t be fulfilled unless these properties are valid.) DELETE requests require only a carrier_id.
PUT or POST example request:
DELETE example request:
Royal Mail has no connection object properties.
Please note that this endpoint is not intended for adding connection settings.
Its purpose is solely to establish a connection between your BigCommerce store and the carrier. If the carrier has no connection settings configured, please leave the connection property empty. However, if the carrier already has connection settings configured, you can utilize this endpoint to establish the connection using the existing connection properties.
PUT or POST example request when your carrier is not configured with any connection settings:
PUT or POST example request when your carrier is configured with connection settings:
PUT or POST example request:
DELETE example request:
Zoom2U PUT or POST requests require all of the following properties. (These requests won’t be fulfilled unless these properties are valid.) DELETE requests require only a carrier_id.
For example requests and more information about authenticating BigCommerce APIs, see Authentication and Example Requests.
For more about BigCommerce OAuth scopes, see our Guide to API Accounts.
For a list of API status codes, see API Status Codes.