Articles on: Shipper Account

Canada Post Developer Guide & API Credentials

This developer guide teaches you how to get access to Canada Post shipping API via AfterShip Shipping. See also the list of required API credentials / keys for Canada Post integration.


Get Canada Post API Credentials


Register for a Canada Post account if you do not already have one. Talk with your Canada Post account manager to arrange your account setup.
Login to AfterShip Shipping, go to Carriers - Add carrier, choose Canada Post.
Click Login with Canada Post, it goes to Canada Post login page. Login with your Canada Post account in step 1.
Add carrier

Choose the company, choose Methods of Payments and click Continue.
If you haven't setup any credit card in Canada Post, you will be required to fill in the credit card info first.
Choose account

Click Submit if you agree with the Terms and Conditions.
Terms and Conditions

It brings you back to AfterShip Shipping portal, the credentials information are auto filled and not editable. Fill in your address in Canada Post and Submit the update.



Once setup, you will receive an email from Canada Post to your AfterShip account email like below.




Required Canada Post API credentials



Canada Post Developer Resources



Read Canada Post docs
Supported Canada Post service types and service options
AfterShip Shipping Canada Post technical support: support+shipping@aftership.com
Canada Post service codeAfterShip Shipping service_typeAfterShip Shipping service_name
DOM.RPcanada-post_regular_parcelRegular Parcel
DOM.EPcanada-post_expedited_parcelExpedited Parcel
DOM.XPcanada-post_xpresspostXpresspost
DOM.PCcanada-post_priorityPriority
DOM.LIBcanada-post_library_booksLibrary Books
USA.EPcanada-post_expedited_parcel_usaExpedited Parcel USA
USA.PW.ENVcanada-post_priority_worldwide_envelope_usaPriority Worldwide Envelope USA
USA.PW.PAKcanada-post_priority_worldwide_pak_usaPriority Worldwide Pak USA
USA.PW.PARCELcanada-post_priority_worldwide_parcel_usaPriority Worldwide Parcel USA
USA.SP.AIRcanada-post_small_packet_usa_airSmall Packet USA Air
USA.TPcanada-post_tracked_packet_usaTracked Packet – USA
USA.TP.LVMcanada-post_tracked_packet_usa_large_volumeTracked Packet – USA (LVM)
USA.XPcanada-post_xpresspost_usaXpresspost USA
INT.XPcanada-post_xpresspost_internationalXpresspost International
INT.IP.AIRcanada-post_international_parcel_airInternational Parcel Air
INT.IP.SURFcanada-post_international_parcel_surfaceInternational Parcel Surface
INT.PW.ENVcanada-post_priority_worldwide_envelope_internationalPriority Worldwide Envelope International
INT.PW.PAKcanada-post_priority_worldwide_pak_internationalPriority Worldwide Pak International
INT.PW.PARCELcanada-post_priority_worldwide_parcel_internationalPriority Worldwide Parcel International
INT.SP.AIRcanada-post_small_packet_international_airSmall Packet International Air
INT.SP.SURFcanada-post_small_packet_international_surfaceSmall Packet International Surface
INT.TPcanada-post_tracked_packet_internationalTracked Packet – International

Updated on: 04/12/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!