Create Carrier Connection
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
GETwith this resource. It hasPUT,POSTandDELETE.PUTis 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.
Australia Post
PUT or POST example request:
DELETE example request:
Australia Post Connection Object – Properties
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.
Endicia
USPS is connected through Endicia.
PUT or POST example request:
DELETE example request:
Endicia Connection Object – Properties
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.
FedEx
PUT or POST example request:
DELETE example request:
FedEx Connection Object – Properties
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.
Royal Mail
PUT or POST example request:
DELETE example request:
Royal Mail Connection Object - Properties
Royal Mail has no connection object properties.
Shipping Provider API
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:
Zoom2U
PUT or POST example request:
DELETE example request:
Zoom2U Connection Object – Properties
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.
Authentication
OAuth scopes
Authentication header
Further reading
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.
Path parameters
Headers
The MIME type of the response body.
Request
The connection object varies by carrier.