Canada Post supports the creation of QR codes for domestic shipments through EasyPost. QR codes provide flexible access to label-free shipping and return options. After a shipment is purchased, a form can be generated to create the appropriate QR code for the use case.
QR code types
EasyPost supports three types of QR code forms for domestic shipments through Canada Post:
- RMA (box-free, label-free) QR code: Used for domestic returns where the recipient does not need to provide a package or print a label. Canada Post supplies packaging and prints the label at drop-off.
- Returns label QR code: Used for domestic returns where the recipient provides their own packaging but does not need to print the label. The label is printed at drop-off.
- Outbound label QR code: Used for outbound domestic shipments where the sender does not print the label. The label is printed at drop-off.
RMA (box-free, label-free) QR code
Generates a QR code that allows recipients to return packages without printing a label at home. Canada Post also provides customers with packaging for their items, provided that they meet size limitations. QR codes can be scanned at participating Canada Post locations, where packaging is provided for the item, and the label is printed and affixed by a clerk at drop-off.
There are three packaging options available from Canada Post:
-
Small: Padded paper mailer 100% recyclable, 8.5” x 11.25”
-
Medium: Padded paper mailer, 100% recyclable, 10.5” x 15.25”
-
Large: Poly bag made from recycled content, 19” x 24”
Items exceeding 50 cm x 40 cm x 5 cm (20 in x 16 in x 2 in) must be packaged by the consumer as they will not fit in the box-free packaging. For larger items, use the Returns Label QR code instead.
Requirements
- Domestic return shipment with Canada Post
- is_return must equal true in the shipment request
- Label format must be PDF, PNG, ZPL, and EPL2 formats
- Item must conform the Canada Post’s size requirements
- Form type: rma_qr_code
Ship Request Example
{ "shipment": { "mode": "production", "options": { "label_size": "8.5X11", "label_format": "PDF", "currency": "USD" }, "to_address": { "name": "Head Curator", "company": "Winnipeg Art Gallery", "street1": "300 Memorial Blvd", "city": "Winnipeg", "state": "MB", "zip": "R3C 1V1", "country": "CA", "phone": "555-555-5555", "email": "superfakeemail@fakeaddress.com" }, "from_address": { "name": "Prime Minister", "company": "Canadian Parliament", "street1": "2 Rideau Street", "city": "Ottawa", "state": "ON", "zip": "K1A 0A4", "country": "CA", "phone": "555-555-5555", "email": "superfakeemail@fakeaddress.com" }, "parcel": { "length": "6", "width": "11", "height": "1.5", "weight": "16" }, "is_return": true, "service": "ExpeditedParcel", "carrier_accounts": "ca_d444111cd33644474979444df230e86a" } }
Form Request Example
{ "form": { "type": "rma_qr_code" } }
Returns label QR code
Generates a QR code that allows recipients to return packages without printing a label at home. These QR codes can be scanned at participating Canada Post locations, where the label is printed and affixed to customer packaged shipments by a clerk at drop-off.
Requirements
- Domestic return Canada Post shipment
- is_return must equal true in the shipment request
- Label format must be PDF, PNG, ZPL, and EPL2 formats
- Form type: label_qr_code
Ship Request Example
{ "shipment": { "mode": "production", "options": { "label_size": "8.5X11", "label_format": "PDF", "currency": "USD" }, "to_address": { "name": "Head Curator", "company": "Winnipeg Art Gallery", "street1": "300 Memorial Blvd", "city": "Winnipeg", "state": "MB", "zip": "R3C 1V1", "country": "CA", "phone": "555-555-5555", "email": "superfakeemail@fakeaddress.com" }, "from_address": { "name": "Prime Minister", "company": "Canadian Parliament", "street1": "2 Rideau Street", "city": "Ottawa", "state": "ON", "zip": "K1A 0A4", "country": "CA", "phone": "555-555-5555", "email": "superfakeemail@fakeaddress.com" }, "parcel": { "length": "16", "width": "11", "height": "6.5", "weight": "64" }, "is_return": true, "service": "ExpeditedParcel", "carrier_accounts": "ca_d444111cd33644474979444df230e86a" } }
Forms Request Example
{ "form": { "type": "label_qr_code" } }
Outbound label QR code
Generates a QR code that allows recipients to ship outbound packages without printing a label at home. These QR codes can be scanned at participating Canada Post locations, where the label is printed and affixed to customer packaged shipments by a clerk at drop-off.
Requirements
- Domestic Canada Post shipment
- Label format must be PDF, PNG, ZPL, and EPL2 formats
- Form type: label_qr_code
Ship Request Example
{ "shipment": { "mode": "production", "options": { "label_size": "8.5X11", "label_format": "PDF", "currency": "USD" }, "to_address": { "name": "Head Curator", "company": "Winnipeg Art Gallery", "street1": "300 Memorial Blvd", "city": "Winnipeg", "state": "MB", "zip": "R3C 1V1", "country": "CA", "phone": "555-555-5555", "email": "superfakeemail@fakeaddress.com" }, "from_address": { "name": "Prime Minister", "company": "Canadian Parliament", "street1": "2 Rideau Street", "city": "Ottawa", "state": "ON", "zip": "K1A 0A4", "country": "CA", "phone": "555-555-5555", "email": "superfakeemail@fakeaddress.com" }, "return_address": { "name": "Prime Minister", "company": "Canadian Parliament", "street1": "2 Rideau Street", "city": "Ottawa", "state": "ON", "zip": "K1A 0A4", "country": "CA", "phone": "555-555-5555", "email": "superfakeemail@fakeaddress.com" }, "parcel": { "length": "6", "width": "11", "height": "1.5", "weight": "16" }, "is_return": false, "service": "ExpeditedParcel", "carrier_accounts": "ca_d444111cd33644474979444df230e86a" } }
Form Request Example
{ "form": { "type": "label_qr_code" } }