Site Logo

🎉 ShipEngine is becoming ShipStation API 🎉

Over the next few months you'll notice the ShipEngine website, documentation portal, and dashboard being rebranded as ShipStation API. For our ShipEngine customers, you don't need to take any action or change any of your integrations in any way. All endpoints will remain the same and continue to function as they always have.

To learn more about what's coming, review our New ShipStation API page.

Canada Post

Canada Post offers both domestic and international shipping services for via ShipEngine for Canada Post account holders.

This guide provides developers with the details needed to build Canada Post shipping capabilities into your ShipEngine workflows.

If you are using or plan to use the Canada Post services included with ShipEngine, rather than connecting your own Canada Post account, see our Canada Post from ShipEngine guide.

Requirements

PropertyTypeRequired?Description
nicknamestringrequiredA nickname to identify this account in ShipEngine.
usernamestringrequiredYour Canada Post account username.
passwordstringrequiredYour Canada Post account password.

Connection Requirements

  • You must have an active Commercial or Small Business account with Canada Post.
  • To connect a Canada Post Commercial account, you must have created a Business Profile in Canada Post that uses your commercial contract number.

Shipping Requirements

  • Commercial accounts must manifest each days shipments and provide a printed copy of the manifest to the Canada Post driver or representative. Failure to manifest shipments may result in additional monthly invoice fees. (Small Business accounts have no manifest requirements.)

Connect Account

You can connect a Canada Post account using the POST method to the /v1/connections/carriers/ endpoint, or via the ShipEngine Dashboard.

For instructions on connecting via the dashboard, review our Canada Post help article.

Connect via Endpoint

carrier_name: canada_post

POST /v1/connections/carriers/:carrier_name

Sample request:

1
2
3
4
5
6
7
8
9
10
POST /v1/connections/carriers/canada_post HTTP/1.1
Host: api.shipengine.com
API-Key: __YOUR_API_KEY_HERE__
Content-Type: application/json
{
"nickname": "My Canada Post account",
"username": "123456789",
"password": "pa55word"
}

A successful connection will return a response with the carrier_id, which you'll use for any requests for this account going forward.

Rates

Canada Post supports rate shopping with ShipEngine.

Service Details

Available Canada Post services are provided below. Please note that carriers may update their available services at any time. To ensure you are always using valid services, you can use the list carrier services endpoint at any time.

Domestic Services

ServiceAPI Code
Regular Parcel (Carbon Neutral)regular_parcel
Expedited Parcel (Carbon Neutral)expedited_parcel
Xpresspostxpresspost
Xpresspost Certifiedxpresspost_certified
Prioritypriority
Library Bookslibrary_books

International Services

"USA" services ship from Canada to the US only.

ServiceAPI Code
Expedited Parcel USAexpedited_parcel_usa
Priority Worldwide Envelope USApriority_worldwide_envelope_usa
Priority Worldwide pak USApriority_worldwide_pak_usa
Priority Worldwide Parcel USApriority_worldwide_parcel_usa
Small Packet Air - USAsmall_packet_air_usa
Tracked Packet - USAtracked_packet_usa
Xpresspost USAxpresspost_usa
Xpresspost Internationalxpresspost_international
International Parcel Airinternational_parcel_air
International Parcel Surfaceinternational_parcel_surface
Priority Worldwide Envelope Intlpriority_worldwide_envelope_international
Priority Worldwide pak Intlpriority_worldwide_pak_international
Priority Worldwide parcel Intlpriority_worldwide_parcel_international
Small Packet International Airsmall_packet_international_air
Small Packet International Surfacesmall_packet_international_surface
Tracked Packet - Internationaltracked_packet_international

Return Services

Canada Post supports creating return labels for domestic services with Commercial accounts only. Return labels cannot be voided.

Review the Return Shipping Labels page for details on creating return labels with ShipEngine.

Packages

Canada Post does not specify carrier package types. You can use custom package types or the generic package package type.

Adding Shipment Insurance

Canada Post does not support adding carrier insurance to shipments created in ShipEngine.

Label Support

  • Label sizes: 4" x 6"
  • Label formats: PDF

Label Reference Fields

Canada Post supports adding custom label messages.

  • Label Messages 1 & 2 print on the label.
  • Label Message 3 can be used for submitting Cost Centre but does not print on label.

The following international services do not have a place for label messages to actually appear:

  • Small Packet Air
  • Small Packet Surface
  • Tracked Packet International
  • Tracked Packet USA

Multi-Package Labels

Canada Post does not support creating multi-package shipments.

Label Branding

Canada Post does not support label branding.

Voiding Labels

Canada Post supports voiding labels in ShipEngine. For Commercial accounts, voiding must be done before manifesting your shipments.

You must wait 60 minutes after label creation before you can void a label and voiding must be done within 15 days of label creation.

See our Void a Label page for details about voiding labels with ShipEngine.

Paperless Labels

Canada Post supports creating paperless labels for domestic services only.

See our Paperless Labels page for details about creating paperless labels with ShipEngine.

Customs Declarations

International labels will either include a CN22 or CN23 form depending on the declared value. If it's over $500, a separate CN23 form will be included with the label. Customs declarations forms for international shipments can be downloaded from the forms_download object in the label response.

The Canada Post API now has character limits for SKU and Customs Descriptions:

  • SKU: 15 characters limit
  • Custom Description: 45 characters limit.

When a customs description exceeds the limit, you will receive an error on your label request.

Delivery Confirmation

Confirmation TypeAPI CodeDescription
DeliveryDeliveryDelivery confirmation is requested.
SignatureSignatureSignature is required for the shipment to be delivered. This signature may be a neighbor, building manager, or the recipient can authorize the release of the package (without being present). Canada Post will apply a signature confirmation type automatically on all return labels.
Proof of Age Required - 18AdultSignatureAn adult signature is required for the shipment to be delivered.
Proof of Age Required - 19DirectSignatureA signature of somebody at the address is required.

See our Delivery Confirmation page for more details about using the confirmation property.

Advanced Options

Canada Post supports certain advanced options, which you can add to the shipment object when creating a shipment or label.

OptionTypeDefault ValueDescription
bill_to_partystringnullDetermines which party is paying for shipping costs. This field must be used in conjunction with the bill_to_country_code, bill_to_postal_code, and bill_to_account fields. Available values: recipient, third_party, null - shipping costs will be billed to the connected carrier account.
collect_on_deliveryObjectnullDefers payment to recipient when package is delivered (up to $5,000). See the Collect on Delivery page for details about using this property.
delivered_duty_paidbooleanfalseIndicates the shipment is DDP (that is, the shipper is paying the duties/taxes for the shipment rather than the recipient).
dry_icebooleanfalseIndicates the shipment includes dry ice. Used in conjunction with the dry_ice_weight object.
non_machinablebooleanfalseIndicates that the package cannot be processed through sorting machines.

To ensure you always have the most up-to-date information about a carrier's advanced options, use the list carrier options call.

Manifests

Manifesting is required for Commercial accounts (except return labels, which do not need to be manifested). See our Manifests page for more details about creating manifests with ShipEngine.

Small business accounts do not need to manifest shipments and will receive an error if attempting to do so.

Scheduling Pickups

Canada Post does not support scheduling pickups using ShipEngine.

Service Points (PUDO)

Canada Post does not support shipping to service points.

Tracking

ShipEngine's integration with Canada Post supports receiving tracking updates. Review our ​Track a Package guides​​ for details on tracking with the ShipEngine API.

Disconnecting Your Canada Post Account

See the Disconnect section in our Delete a Carrier page for the process of deleting or disconnecting a carrier from ShipEngine.