DHL integration: shipments, labels and statuses from the order

VulCode, a software house from Cracow, Poland, connects your custom-built store or warehouse to DHL24 Webapi. An order becomes a shipment and a label, the tracking number goes back to the order, and we read the parcel status from the DHL tracking service and show it to the customer in the panel. Pickup points without cash on delivery and returns use the operations DHL exposes in the same interface. The DHL integration costs from PLN 999 (about EUR 220) and usually takes 2-3 days, and the free quote comes back within an hour.

From the order to a status in the client panel

The path of a shipment in a DHL integration. Each step is a separate Webapi operation.

  1. Order recipient data and the parcel content shipment data
  2. createShipment shipment in the DHL system number and label
  3. getLabels label for printing handover of the parcel
  4. Dispatch with a courier or at a point status read
  5. getTrackAndTraceInfo shipment events into the panel
When it works
The customer sees the status in the panel and by email
When it fails
An error from DHL comes back to the order with a description, and the operation goes to the log

DHL24 Webapi operations in the integration

The main operations the integration is built from. The full list is in the DHL24 Webapi documentation.

OperationWhat it doesWhere in the store
createShipmentCreates a shipment in the DHL system.After the order is placed.
getLabelsFetches labels, up to three in one call.When the waybill is printed.
getTrackAndTraceInfoReturns the events for a shipment number.Client panel and messages.
getNearestServicepointsFinds the nearest pickup points (no cash on delivery).Checkout or client panel.
bookCourierBooks a courier pickup.Warehouse panel.

We check the scope of operations against your account before launch. Available functions depend on your agreement with DHL.

The parcel status in your system

DHL returns detailed shipment events. In the client panel we show a few stages the customer understands, and the full event stays in the log.

  1. 01 created

    The shipment exists in DHL24 and has a number. The label is fetched and ready to print.

  2. 02 dispatched

    The parcel was handed to a courier or left at a point. We fetch the event from the tracking system.

  3. 03 in transit

    The parcel is at a hub and on its way. The customer sees it in the panel and by email, without contacting support.

  4. 04 ready for pickup

    The parcel waits at a pickup point or for delivery. The moment the customer waits for most.

    • not collected in time returned to sender

      The shipment returns to the sender. The panel shows it to support before the customer asks.

  5. 05 delivered

    Delivered or collected from the point. The order can be closed.

04

Before the first shipment goes through the API

Things on your side and on the DHL side without which the first shipment will not go out.

  1. 01

    Account and access

    A DHL customer account

    Webapi authenticates with a login and password, and shipments are created on that account. You pass the data to us through a secure channel, not by email or chat.

  2. 02

    A shipping agreement with DHL

    Prices, terms and pickup points come from the DHL agreement, not from the integration. We check them before quoting.

  3. 03

    A sender address that matches the agreement

    The label shows the sender address, so we match it with the agreement data before the first shipment.

  4. 04

    A settled way of handing over parcels

    Handing over to a courier, at a point or through a pickup order needs a different flow. We pick one way for the start and add the rest later.

A plugin, an aggregator or DHL24 directly

Some platforms have ready carrier modules. We write code where a ready solution is not enough.

A ready solution

  • The store runs on a platform with a ready carrier module.
  • You ship with several carriers and want one panel.

A platform module or an aggregator in which DHL is one of the couriers.

Couriers and aggregators

DHL24 Webapi directly

  • The store or warehouse is custom-built.
  • Labels and statuses should live in your panel, not someone else's.
  • You need your own rules for choosing the carrier and the way of dispatch.

A DHL24 Webapi integration in your code, with statuses and labels read onto the order.

The label and the number come back to the order without retyping

Whoever today retypes addresses into the DHL panel does it once, at the order, after the integration.

From the order we create a shipment in DHL24, fetch the label and save the shipment number on the order. The employee prints the label from the panel instead of searching for the address in another system. Less manual retyping means fewer mistakes in addresses.

We read statuses from the DHL tracking system, so the customer and support see the same status. Errors from DHL do not disappear into server logs: they come back to the order with a description, so someone can fix them the same day.

Common questions about DHL integration

Click a question to see the answer.

How much does the DHL integration cost?
The DHL integration costs from PLN 999 (about EUR 220). The figure grows with the number of systems, data directions and exceptions to handle. A typical integration takes 2-3 days, and the free quote comes back within an hour. We quote it under our API and integrations service.
How long does it take?
Usually 2-3 days. The exact dated schedule comes with the free quote, and if anything is going to move, you know in advance.
Who builds the DHL integration?
VulCode, a software house from Cracow, Poland, builds the DHL24 Webapi integration in the code of your store or warehouse. We work on the data from your DHL agreement and test each operation before it goes live.
Do I need a DHL account?
Yes. Webapi works with the login and password of the account on which you create shipments. Prices, terms and pickup points come from your DHL agreement.
How does the customer know where the parcel is?
We read the shipment events from DHL24 with the getTrackAndTraceInfo operation and show the status in the panel and by email. The customer sees the same status as support.
How do returns work?
Webapi has return operations: fetching return parameters, finding a return by the shipment number and creating a return shipment. We handle returns from the panel, and the return number and its status go back to the order. Details in the returns widget.
Will the DHL integration code be mine?
Yes. Once the work is accepted and paid in full, the economic copyright in the code passes to you. You have access to the repository from the first day, and after acceptance you get it with run instructions. Open source libraries keep their own licences.

Sources

Technical details come from the DHL24 Webapi documentation.

Describe your project.

A free quote comes back within an hour during working hours.