RocketShipIt for DHL® Shippers

"I was planning on working on this project until next monday but it's already just about wrapped up thanks to RocketShipIt" -- Wyatt G -

Features and Benefits

Create a Shipment and Label

Here is a quick example of how to create a shipment and label with RocketShipIt's DHL PHP API:

$shipment = new \RocketShipIt\Shipment('DHL');

$shipment->setParameter('shipper', 'RocketShipIt');
$shipment->setParameter('shipAddr1', '1 Zoo Rd');
$shipment->setParameter('shipCity', 'San Francisco');
$shipment->setParameter('shipState', 'California');
$shipment->setParameter('shipCode', '94132');
$shipment->setParameter('shipCountry', 'US');

$shipment->setParameter('toCompany', 'San Diego Zoo');
$shipment->setParameter('toAddr1', '2920 Zoo Dr');
$shipment->setParameter('toCity', 'San Diego');
$shipment->setParameter('toState', 'California');
$shipment->setParameter('toCode', '92101');
$shipment->setParameter('toCountry', 'US');

$shipment->setParameter('toName', 'Mark Sanborn');
$shipment->setParameter('toPhone', '1234567');

$shipment->setParameter('service', 'D');
$shipment->setParameter('weight', '5');

$response = $shipment->submitShipment();

Example Label

Dhl Shipping label generated from API

Supported Programming Languages

RocketShipIt™ for 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 should support.

supported programming languages

Purchase RocketShipIt

RocketShipIt™ for DHL comes with a complete API interface to the DHL 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.

Note: Automatic certifications are not yet available for RocketShipIt for DHL. When you are ready to certify your application please contact us and we will guide you through the process.

Frequently Asked Questions

Does the RocketShipIt script connect to DHL directly?


How fast are response times for fetching rates and label generation?

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.

Can RocketShipIt be used in commercial applications?


Does RocketShipIt work with Zencart, OScommerce, Magento, Paypal, or Cart X?

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.

Can I print thermal labels with RocketShipIt™ for DHL?


What formats do labels come in?

ZPL, EPL, EPLII, and GIF labels. ZPL/EPL are the print codes (in base64) required for thermal printing.

What can I do with the labels after I get them?

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.

Can I see a sample GIF label?


Does RocketShipIt calculate dimensional weight?


Does RocketShipIt work for International shipments?

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.

Can I create shipments with multiple packages?


Can I create return labels and email them to my customers?

Yes, you can even provide the customer's email address and have DHL email them on your behalf.

What are negotiated rates?

Negotiated rates include the retail rate minus the discount you get for being a DHL volume shipper. This is the rate you recieve from DHL.

Are there any limitations in RocketShipIt™ for DHL?

RocketShipIt™ for DHL is a complete API for DHL. 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.

Are there any discounts for purchasing RocketShipIt for multiple carriers?

You can get support for all carriers for one low price see pricing.

Can RocketShipIt handle my volume?

Since RocketShipIt connects to DHL directly you are utilizing the power of their servers. Currently RocketShipIt does over ten thousand shipments per day.

Does RocketShipIt handle end of day reports?

RocketShipIt creates the labels directly through the DHL API. DHL is notified immediately when a label is printed so there is no need for an end of day report.

You'll love us, Money Back Guarantee

We guarantee you'll love us, if you are not totally satisfied we'll give you a 100% refund.

Try it Free

* 100% money back guarantee.

  • No per-label or additional fees
  • Free online support from a shipping expert
  • Support for UPS, FedEx, USPS, DHL, CanadaPost, and more
  • Print server for printing thermal labels from a web-browser
  • Free updates