Articles on: Shipper Account

Canada Post Developer Guide & API Credentials


Overview


This developer guide outlines how you can access Canada Post Shipping API via AfterShip Shipping. The guide also mentions the list of required API credentials and keys required for Canada Post integration.


Get Canada Post API Credentials


  1. Register for a Canada Post account if you do not already have one. Reach out to your Canada Post account manager to arrange your account setup.
  2. Log in to your AfterShip Shipping account and navigate to Carriers > + Add carrier.
  3. Choose Canada Post from the list of supported carrier and simply input the carrier name in the search bar.


  1. Click Login with Canada Post. It will direct you to Canada Post's login page. Login with your Canada Post account credentials you configured while setting up your account in step 1.



  1. Choose the company, choose Methods of Paymentsand 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

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


  1. Upon accepting the terms and conditions, you will be directed back to the AfterShip Shipping portal. The credentials are automatically filled in and cannot be edited. Fill in your address and Submit the update.


  1. Once setup, you will receive an email from Canada Post to your AfterShip account registered 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 code

AfterShip Shipping service_type

AfterShip Shipping service_name

DOM.RP

canada-post_regular_parcel

Regular Parcel

DOM.EP

canada-post_expedited_parcel

Expedited Parcel

DOM.XP

canada-post_xpresspost

Xpresspost

DOM.PC

canada-post_priority

Priority

DOM.LIB

canada-post_library_books

Library Books

USA.EP

canada-post_expedited_parcel_usa

Expedited Parcel USA

USA.PW.ENV

canada-post_priority_worldwide_envelope_usa

Priority Worldwide Envelope USA

USA.PW.PAK

canada-post_priority_worldwide_pak_usa

Priority Worldwide Pak USA

USA.PW.PARCEL

canada-post_priority_worldwide_parcel_usa

Priority Worldwide Parcel USA

USA.SP.AIR

canada-post_small_packet_usa_air

Small Packet USA Air

USA.TP

canada-post_tracked_packet_usa

Tracked Packet – USA

USA.TP.LVM

canada-post_tracked_packet_usa_large_volume

Tracked Packet – USA (LVM)

USA.XP

canada-post_xpresspost_usa

Xpresspost USA

INT.XP

canada-post_xpresspost_international

Xpresspost International

INT.IP.AIR

canada-post_international_parcel_air

International Parcel Air

INT.IP.SURF

canada-post_international_parcel_surface

International Parcel Surface

INT.PW.ENV

canada-post_priority_worldwide_envelope_international

Priority Worldwide Envelope International

INT.PW.PAK

canada-post_priority_worldwide_pak_international

Priority Worldwide Pak International

INT.PW.PARCEL

canada-post_priority_worldwide_parcel_international

Priority Worldwide Parcel International

INT.SP.AIR

canada-post_small_packet_international_air

Small Packet International Air

INT.SP.SURF

canada-post_small_packet_international_surface

Small Packet International Surface

INT.TP

canada-post_tracked_packet_international

Tracked Packet – International


Updated on: 14/11/2024