This article contains instructions on how to register for a Canada Post shipper account and how to register it EasyPost Dashboard.
- If you do not already have a Canada Post shipper account you can register for one on their website.
- If you already have registered with Canada Post, log in to your account and verify that you have a valid payment method established by clicking on your account drop-down menu (top right-hand corner to the left of log out) and select My Profile. You will then see a Payment section where you can review your credit cards or other payment methods on file.
- Log in to your EasyPost account and navigate to the Carriers Account Page. Here you can add a Canada Post carrier account to your EasyPost profile. When linking your Canada Post account to EasyPost you will be redirected to the Canada Post website to log into your account. This will authenticate your Canada Post account with EasyPost and all the relevant credentials will automatically be saved into the EasyPost system.
If you decide to add your Canada Post account via our API, please contact us at email@example.com in order to confirm that it's enabled correctly.
Adding a Canada Post account via API (for developers)
When adding a carrier account through the API, make sure to set
not_platform: True and use the developer keys from the Canada Post developer portal.
curl -X POST https://api.easypost.com/v2/carrier_accounts
-u PRODUCTION_API_KEY: \
-d 'carrier_account[type]=CanadaPostAccount' \
-d 'carrier_account[description]=My CanadaPost account' \
-d 'carrier_account[reference]=Canada Shipping' \
-d 'carrier_account[credentials][api_key]=CANADA_POST_DEVELOPER_API_KEY' \
-d 'carrier_account[credentials][contract_id]=123456789' \
-d 'carrier_account[credentials][customer_number]=123456789' \