Skip to main content
Talk to an expert
DHL logo

DHL integration for ecommerce fulfilment

Dispatch to DHL, track shipments, returns flow back automatically iWeb integrates DHL shipping into your commerce and order management systems so despatch instructions, label generation, tracking updates and returns consolidation happen without manual intervention or shipping delays. Works with Adobe Commerce, Magento Open Source, Shopify Plus, BigCommerce and other storefronts.

Also searched as: shipping connector, warehouse integration, fulfilment plugin, app.

DHLiWeb integration layeryour storefront
Works with - Adobe Commerce · Magento Open Source · Shopify Plus · BigCommerce · Other storefronts
01 · What you get

What a DHL integration gives you.

Despatch latency cut to minutes

Orders move from payment confirmation to despatch instruction in minutes, not hours. Labels print automatically, warehouse teams despatch the same day, and customers see tracking numbers in their order confirmations.

Fewer lost or duplicate shipments

Order records stay in sync with DHL despatch status. Reconciliation against despatch confirmations happens automatically, so you catch unshipped orders and avoid duplicate shipments before they become customer escalations.

Returns loop closes without manual chase

Return labels reach customers automatically, DHL pickup consolidation runs on a schedule, and inbound returns reconcile back to original orders without warehouse staff re-keying reference numbers or chasing delivery scans.

Compliance data centralised in PIM

Customs declarations, HS codes and origin statements live in your product master data, not in spreadsheets or DHL web forms. Each international order pulls the right data without buyer or warehouse involvement.

Carrier failover happens transparently

If DHL capacity is constrained or latency exceeds threshold, orders shift to fallback carriers with tracking lineage preserved. Customers and your back-office see a single tracking experience across carriers.

02 · When it's worth it

Where a DHL integration earns its place.

If two or more of these are true, the integration usually pays for itself quickly.

Route domestic and international orders to DHL express, parcel or specialised services based on destination and service rules
Generate shipping labels and despatch notes automatically without manual label printing workflows
Publish tracking numbers and delivery status updates back to order records and customer notifications
Capture weight, dimensions and special handling flags from orders and pass them to DHL's rating engine
Ingest returns authorisations and reverse logistics instructions to DHL for pickup and consolidation
Reconcile shipped orders against despatch confirmations to prevent duplicate or lost shipments
03 · The limits

Where off-the-shelf connectors fall short.

Vendor connectors are fine for simple cases. Here's where the real ones need more.

Service selection and rating rules

DHL's standard API does not embed your business rules for carrier selection, service downgrades or surcharges. You must build the logic that decides whether an order ships via DHL Express, DHL Parcel or a hybrid approach, and how weight, destination or value thresholds map to service levels.

Exception handling for failed or delayed shipments

DHL returns shipment failures, address corrections and delivery exceptions, but does not provide intelligence about which exceptions require human intervention versus automatic retry. You need custom routing to separate silent failures from actionable alerts.

Returns label generation and pickup scheduling

DHL can generate return labels, but linking returns to inbound pickup consolidation, managing your return address pool and reconciling return parcels back to original orders requires custom orchestration outside the standard API.

Multi-carrier selection and fallback

If DHL is unavailable or capacity-constrained, the standard integration does not automatically trigger fallback to alternative carriers. You must build the business logic that decides when to switch carriers mid-shipment.

Customs and international compliance data

DHL requires customs declarations, HS codes and origin statements for international shipments. Mapping product data, item values and tariff classifications from your PIM into DHL's compliance payloads is not handled by default.

04 · The real work

Despatch latency is often the invisible margin killer: orders sit in print queues while labels are generated manually, tracking numbers trickle in late, and returns consolidation becomes a chasing game rather than a scheduled process.

05 · Where it sits

Where this integration sits in your estate.

DHL holds the commercial record. The iWeb integration layer manages the rules, mappings, monitoring and exceptions. The commerce platform presents the customer-facing experience. The estate map helps agree ownership before anything is built.

Commerce platform agnostic. Connect DHL across your entire technology stack.

System of record
Source / owner
DHL
Carrier network for order despatch, tracking and returns logistics
  • Label generation and printing
  • Tracking number assignment and updates
  • Proof of delivery and event capture
  • Carrier-specific compliance checks
  • Returns label generation and consolidation
iWeb integration layer
Customer-facing commerce
Commerce platform
Adobe CommerceMagento Open SourceShopify PlusBigCommerceOther storefronts
  • Order confirmation and customer details
  • Service level and carrier selection logic
  • Customer notification timing and content
  • Return authorisation workflow
  • Fallback carrier routing logic
Connected neighbours
Integration layer
Order management system (OMS)
Source of orders and despatch instructions for DHL; receives tracking numbers and proof of delivery to update order status and close shipment records.
Integration layer
ERP
Receives shipment acknowledgements and tracking data for logistics reconciliation and invoicing; system of record for financial and order acknowledgement confirmation.
Integration layer
Warehouse management system (WMS)
Receives labels and pick lists from DHL integration; ships back stock movements and returns parcels for reverse logistics consolidation.
Integration layer
Product information system (PIM)
Source of HS codes, item values and origin statements for international shipment customs declarations; ensures compliance data is governed centrally.
Integration layer
Returns management system
Source of return authorisations that trigger DHL return label generation; receives inbound tracking to reconcile returned parcels back to original orders.
Integration layer
Customer notification platform
Receives tracking numbers and updates from DHL and uses them to compose transactional emails and order status pages for end-customer visibility.
Two-way sync where relevant
06 · Surrounding systems

Systems this integration usually sits next to.

Examples, not a closed list. iWeb is platform-agnostic on both sides: we wire this integration into whatever ecommerce platform and surrounding systems your estate already runs.

Ecommerce platforms (examples)
  • Adobe Commerce
  • Magento Open Source
  • Shopify Plus
  • BigCommerce
  • Other storefronts
Surrounding systems (examples)
  • Order management system (OMS)
  • ERP (NetSuite, SAP, Sage)
  • Warehouse management system (WMS)
  • Returns management system
  • Product information system (PIM)
  • Shipping rules engine
  • Customer notification platform
Not sure?

Not sure if this works with your stack?

Tell us what you’re using and what needs to connect. We’ll give you a straight view on what’s possible, what might be awkward, and the safest way to approach it.

07 · Data flows

The data flows we wire.

Each flow has a direction and an owner. We agree both before a line of code is written.

Into ERP & COMMERCE
From COMMERCE & DHL
BOTH WAYS
Order to dispatch instruction: Orders, recipient addresses, item weights, dimensions and service-level requirements flow from your commerce platform and OMS to DHL
iWeb maps order status, packaging rules and service selection logic so that despatch instructions reach DHL in the format required for label generation and routing.
Tracking and proof of delivery: DHL returns tracking numbers, label PDFs, despatch timestamps and proof-of-delivery events back to your commerce platform
iWeb captures these events and routes them to order records, customer notifications and your ERP for logistics reconciliation.
Shipment acknowledgement and tracking: Despatch confirmations including tracking reference, service level and despatch date flow into your ERP so that order status matches shipped reality and invoicing can proceed with confidence.
Returns and reverse logistics: Return authorisations from your commerce platform trigger DHL return labels and pickup instructions
Return events and reconciliation data flow back to your commerce and ERP systems to close the return loop.
Label and manifest data: Shipping labels, pick lists, manifests and packing notes are generated by DHL and routed to your fulfillment workflow so warehouse teams have everything needed to despatch without re-keying.
08 · How we build it

How iWeb configures the integration around your business.

Same method on every integration. The decisions come before the code.

  1. 01
    Carrier and service selection logic

    We map your business rules - destination, weight, service SLA, margin targets - into the routing engine so that each order finds the right DHL service or fallback automatically, with no threshold guesswork.

  2. 02
    Label and manifest automation

    We connect your order data to DHL's label API and route the output directly to your warehouse management system or print queue, so labels are ready before warehouse staff touch the parcel.

  3. 03
    Tracking and proof-of-delivery capture

    We ingest tracking numbers, scans and proof-of-delivery events from DHL and route them to order records, customer notifications and your ERP so your back-office and customers stay in sync with reality.

  4. 04
    Returns and reverse logistics orchestration

    We design the return label flow, link returns to inbound consolidation schedules, and reconcile return parcels back to original orders so returns move from customer hands to warehouse restock without manual chase.

  5. 05
    Exception routing and observability

    We separate silent failures from actionable exceptions and route them to the right team queue - customer service for address errors, warehouse for missing items, operations for carrier delays - so exceptions surface as alerts, not surprises.

  6. 06
    Customs and international compliance integration

    We pull HS codes, item values and origin statements from your PIM and feed them into DHL's international shipment payloads so customs declarations are governed by product data, not manual forms.

09 · Ownership

Who owns what.

The single most important table in any integration. One system owns each field; everything else reads it.

Data
Source / owner
Maintained by
Notes
DataDispatch instructions and order-to-shipment mapping
Source / ownerOrder management system (OMS) or commerce platform
Maintained byOperations team and iWeb integration
NotesiWeb translates order state and service rules into DHL-compatible dispatch payloads and monitors instruction delivery.
DataTracking numbers, labels and proof of delivery
Source / ownerDHL shipping network
Maintained byDHL via API callbacks; iWeb capture and route
NotesDHL is source of truth for tracking state; iWeb ensures tracking events reach order records, customer notifications and ERP reconciliation.
DataReturns authorisations and reverse logistics instructions
Source / ownerOrder management system (OMS) or returns management system
Maintained byCustomer service and operations; iWeb trigger and reconcile
NotesiWeb routes return authorisations to DHL for label generation and inbound pickup consolidation, then reconciles returned parcels back to original orders.
DataService level selection, carrier rules and failover logic
Source / ownerCommerce platform or rules engine
Maintained byOperations or revenue management team; iWeb builds and monitors
NotesiWeb embeds and maintains the business logic that decides which DHL service or fallback carrier each order uses, with exception routing for rate or capacity changes.
DataException queue and resolution tracking
Source / ownerException management system or alert queue
Maintained byiWeb routing; resolved by operations, customer service or warehouse teams
NotesiWeb separates unactionable failures from errors that require human intervention and routes each to the responsible team with SLA and context.
DataCustoms declarations, HS codes and compliance data
Source / ownerProduct information management (PIM) system
Maintained byProduct data team; iWeb pull and feed to DHL
NotesiWeb retrieves HS codes, item values and origin data from PIM and injects them into DHL international shipment payloads so compliance is governed by product data.
DataIntegration transport, monitoring and exception handling
Source / owneriWeb integration platform
Maintained byiWeb support and operations
NotesiWeb monitors API latency, callback delivery, label generation and tracking capture, with alerting for silent failures and fallback triggers.
10 · Experienced integrator

Built this integration multiple times

iWeb has built DHL integrations for retailers, foodservice distributors and manufacturers across multiple commerce platforms and order management systems. We understand how DHL sits between your OMS, warehouse and ERP, and how to route despatch instructions, tracking events and exceptions reliably.

We design service selection and rating rules so orders route to the right DHL service level without manual thresholds or carrier selection drift.
We build exception queues that separate address validation failures, customs holds and carrier rejections from transient API noise, so your warehouse and customer service teams surface only actionable alerts.
We integrate returns label generation, inbound consolidation and reconciliation so return parcels link back to original orders without manual reference number entry.
We create fallback routing and carrier failover logic so that if DHL capacity fills or latency spikes, orders shift transparently to secondary carriers.
We handle customs declarations and compliance data by pulling HS codes and item values from your PIM, so international shipment compliance lives in product governance, not in manual forms.
11 · Before launch

What we test before launch.

Every one of these is rehearsed before a customer ever sees the integration.

Verify that order data maps correctly to DHL payload structure and that test shipments generate valid tracking numbers within agreed SLA.
Confirm that tracking callbacks from DHL arrive within 5 minutes of label generation and update order records without duplication or loss.
Test address validation failures and confirm that undeliverable addresses are routed to customer service queue with correction suggestions before despatch window closes.
Validate fallback carrier routing by simulating DHL capacity rejection or rate spike and confirm that orders shift to secondary carrier with tracking preserved.
Confirm that return labels reach customers via email or portal, that DHL inbound scans reconcile back to original orders, and that inventory updates occur without manual intervention.
Test exception queue routing by simulating label failures, customs holds and proof-of-delivery gaps and confirm each reaches the responsible team with clear context and SLA.
Verify end-to-end monitoring and alerting: confirm that stale tracking, unshipped orders and silent API failures trigger alerts to operations before they become customer escalations.
12 · Failure points

Common risks and where they bite.

We name these on day one. A risk written down is a risk you can plan around.

Unshipped orders held in DHL queue while warehouse waits for labels

If label generation fails silently or DHL API latency spikes, orders sit in your OMS with no despatch instruction. Warehouse staff have no signal that the label exists or has been delayed, so despatch window closes without the shipment going out.

Stale or missing tracking numbers in order records

If the tracking number callback from DHL is delayed or lost, your commerce platform shows the order as processed but the customer sees no tracking link. If tracking updates stop arriving, customers believe the parcel is lost when it is simply not being scanned.

Returns labels not reaching customer or not linked to original order

If the return label generation fails or the email to the customer does not include the correct reference number, the return shipment either does not arrive at DHL or arrives without a link to your original order. Returns reconciliation then breaks and inventory does not update.

Address validation failures or customs hold-ups not surfaced in time

DHL returns address corrections and customs declaration errors, but if your integration does not route these exceptions to the right team with clear SLAs, remediation happens after the despatch window closes or the shipment is held at a border.

Service level downgrades not detected, customer expectations broken

If DHL raises surcharges or downgrades service level on an expensive order but your integration does not capture the change, the customer pays next-day rates and receives standard-delivery, triggering chargeback disputes or escalations.

Fallback carrier not triggered when DHL capacity fills

If your integration has no logic to detect DHL rejection or rate limits and automatically offer alternative carriers, orders queue until DHL capacity returns, despatch deadlines slip, and customers see escalating delays.

14 · Questions

Common questions about DHL integrations.

How do we decide which DHL service level each order ships via?

iWeb builds rules that map destination, weight, service SLA and cost targets to DHL Express, DHL Parcel or alternative carriers. Service selection happens automatically at order confirmation, with fallback routing if DHL capacity fills or rates spike.

What happens if a customer address fails DHL validation?

DHL returns address correction suggestions or rejection. iWeb routes these exceptions to your customer service queue with the customer contact details and suggested correction, so the team can reach out before the despatch window closes.

How do tracking numbers get back to the customer?

DHL returns tracking numbers via API callback after label generation. iWeb captures the tracking reference, updates your order record, and triggers your transactional email system to send the customer a tracking link with delivery timeline.

What happens if label generation fails or DHL is unreachable?

iWeb detects generation failures and API timeouts and routes them to your operations queue with retry logic and fallback carrier options. If DHL remains unavailable, orders can shift to an alternative carrier without losing order lineage or customer communication.

How do we handle international shipments with customs requirements?

iWeb retrieves HS codes, item values and origin statements from your PIM and injects them into DHL's customs declaration payload for each international shipment. Compliance data lives in your product master, not in manual forms or spreadsheets.

How do returns labels reach customers and get reconciled?

When a return is authorised, iWeb triggers DHL return label generation and routes the label to your returns email template or customer portal. When the customer ships the return to DHL, iWeb captures inbound tracking and reconciles the returned parcel back to the original order so inventory updates automatically.

What if DHL raises a surcharge or downgrades service level?

DHL notifies us of rate changes and service downgrades in the API response. iWeb captures these events and routes them to your operations team so you can decide whether to accept the new rate, switch carriers or absorb the cost before the shipment leaves your warehouse.

How do we know if an order was shipped or is stuck?

iWeb reconciles orders against DHL despatch confirmations on a schedule. If an order sits in your OMS without a despatch confirmation after a threshold time, an alert goes to your operations queue so you can investigate before the despatch window closes.

Can we use DHL as our primary carrier and shift orders to another carrier if DHL is full?

Yes. iWeb monitors DHL capacity and rates in real time and can automatically trigger failover to your secondary carrier (FedEx, UPS, UK Mail, etc.) if DHL rejects the request or surcharges exceed threshold. Tracking lineage is preserved across carriers.

How often do tracking updates arrive and how fresh is the data?

DHL pushes tracking events (label created, picked up, in transit, delivered, exception) via API webhooks. iWeb captures these events in near real time and updates your order records and customer notifications within minutes of each DHL scan.

What happens if a shipment is delivered but DHL's proof of delivery is missing?

iWeb monitors for late or missing proof-of-delivery events and flags them as exceptions. If proof is not received within a service window, your operations team is alerted so they can contact the customer or DHL to confirm the delivery and close the order.

How does this integrate with our ERP and OMS?

iWeb sits between your commerce platform and DHL. Despatch instructions flow from your OMS to DHL, tracking and proof-of-delivery flow back to your OMS and ERP for order status and invoicing reconciliation. Your ERP remains the system of record for shipment acknowledgement and financial reconciliation.

What data do we need to provide to DHL for each order?

Recipient name, address, phone number; shipper reference (your order number); item weight and dimensions; declared value; and service level preference. iWeb maps your order data to DHL's payload structure so you do not need to re-key or reformat.

How do exceptions get resolved and who is responsible?

iWeb routes exceptions to queues owned by customer service (address errors), warehouse (missing items), operations (carrier delays) or finance (rate disputes). Each exception includes customer contact data, suggested resolution and SLA so the responsible team can act immediately.

Next step

Have a DHL integration brief?

Send the brief, or tell us what is breaking. You will get a written response from a senior expert: the integration boundary, the realistic shape, the risks worth naming, and what it takes to support after launch.
Talk to an expertOr browse all integrations →