"I was planning on working on this project until next monday but it's already just about wrapped up thanks to RocketShipIt" -- Wyatt G - Excela.com
Here is a quick example of how to create a shipment and label with RocketShipIt's Canada Post PHP API:
<?php $shipment = new RocketShipItShipment('CANADA'); $shipment->setParameter('shipCountry', 'CA'); $shipment->setParameter('shipState', 'ON'); $shipment->setParameter('shipCity', 'Ottawa'); $shipment->setParameter('shipCode', 'K1A0B1'); $shipment->setParameter('toName', 'Mark Sanborn'); $shipment->setParameter('toAddr1', '361A Old Finch Avenue'); $shipment->setParameter('toCity', 'Toronto'); $shipment->setParameter('toState', 'ON'); $shipment->setParameter('toCode', 'M1B5K7'); $shipment->setParameter('toCountry', 'CA'); $shipment->setParameter('weight', '5'); $shipment->setParameter('length', '5'); $shipment->setParameter('width', '5'); $shipment->setParameter('height', '5'); $response = $shipment->submitShipment();
RocketShipIt™ for Canada Post strives to be the best solution for web-based shipping regardless of which programming language you use.
Don't see your favorite language on the list? Request a language RocketShipIt™ for Canada Post should support.
RocketShipIt™ for Canada Post comes with a complete API interface to the Canada Post PI API, online support and generation of certification tests to help you get your code integrated as quickly as possible.
RocketShipIt™ allows you to utilize the same code across multiple carriers. This limits switching costs and gives your customers the best price.
Since RocketShipIt communicates directly from your server to the carrier you achieve the best possible response times. You can usually expect requests to be returned in less than one second for most carriers depending on your network connection and location.
The short answer is yes. Technically, RocketShipIt will work with anything that uses PHP 5+ and has the cURL extension installed. All you need to do is pass in the address and weight information and RocketShipIt will do the rest.
ZPL, EPL, EPLII, and GIF labels. ZPL/EPL are the print codes (in base64) required for thermal printing.
The labels come back in base64 format, which basically means they are a string. They can be embedded in an HTML page for viewing/printing, stored in a database, sent to a thermal printer, inserted into a PDF, saved as a GIF file, or emailed off. RocketShipIt doesn't impose any limits to what you can do with them.
RocketShipIt works great internationally. We have RocketShipIt customers shipping to and from just about every country in the world. We even support paperless customs and international document generation for many countries.
Yes, you can even provide the customer's email address and have Canada Post email them on your behalf.
Negotiated rates include the retail rate minus the discount you get for being a Canada Post volume shipper. This is the rate you recieve from Canada Post.
RocketShipIt™ for Canada Post is a complete API for Canada Post. RocketShipIt can do anything that the carrier allows; however, if you find a feature missing in RocketShipIt that you would like added we can usually accommodate such requests in very short time.
You can get support for all carriers for one low price see pricing.
Since RocketShipIt connects to Canada Post directly you are utilizing the power of their servers. Currently RocketShipIt does over ten thousand shipments per day.
RocketShipIt creates the labels directly through the Canada Post API. Canada Post is notified immediately when a label is printed so there is no need for an end of day report.