Global marketplaces live: Amazon Global, Etsy, Temu, eBay, Ozon, Zalando, Joom, HepsiGlobal, AliExpress, Mirakl, Allegro, Walmart ABD, Walmart Kanada, Walmart Meksika, Walmart Şili

DHL integration logo
KargoGlobalREST API (MyDHL / eConnect)

DHL Integration

Connect your DHL account to Stokzone and manage your kargo operations from a single dashboard.

Contact

What can you do once DHL is connected?

  • Shipment creationCreate your shipments through Stokzone.
  • Shipping label & barcodeGenerate the shipment label and barcode with a single click.
  • Shipment trackingTrack shipment statuses from the panel.

How do you connect DHL to Stokzone?

  1. 1Get your DHL credentialsGet your API credentials from your DHL seller/account panel (connects via REST API (MyDHL / eConnect)).
  2. 2Sign in to StokzoneEnter the credentials on the Stokzone integration screen and set up the connection.
  3. 3Start syncingOnce the connection is set up, your DHL data starts flowing automatically.

What you need to connect DHL

These are the details requested when you connect your DHL account to Stokzone. We've noted where to find each one in the DHL panel.

Client ID
DHL developer portal (developer.dhl.com) > MyApps > eConnect uygulamanızın Client ID'si.
Client Secret
DHL developer portal > MyApps > eConnect uygulamanızın Client Secret'ı.
Müşteri No (customerIdentification)
DHL eConnect onboarding sürecinde verilen customerIdentification/customerId.
Takip API Anahtarı (DHL-API-Key)optional
Kargo takibi için DHL developer portal > MyApps > 'Shipment Tracking - Unified' consumer key'i. Boşsa sadece gönderi/etiket çalışır.
Test Ortamı (Sandbox)optional
Sandbox (api-sandbox.dhl.com) için 'true' yazın; canlı (api.dhl.com) için boş bırakın. Test ve canlı kimlikleri AYRIDIR.

Your credentials are stored encrypted and used only to establish the connection. You can remove the connection from the panel at any time.

What does the DHL integration automate?

Here is what you can do with DHL. Where an item is off, that step runs by hand or from the DHL panel.

Creating a shipment
A shipment is created straight from the order and the tracking number is written back.
Cancelling a shipment
You can cancel a created shipment from the panel.
Automatic tracking
The carrier is polled regularly and the order status advances on its own.
Status mapping
The carrier's status codes are mapped against their official list, so the order lands on the right status.

This list is generated from the integration code. When the carrier extends its API, the adapter is updated too.

Frequently asked questions about the DHL integration

How do I set up the DHL integration?
You connect in a few steps by taking your API credentials from your DHL seller/account panel and entering them on the Stokzone integration screen (connects via REST API (MyDHL / eConnect)). Sync starts automatically once the connection is established.
Can I create a shipment with DHL?
Yes. You can create shipments through DHL, generate labels/barcodes and track shipment statuses from the panel.
Is there an extra fee for the DHL integration?
You can test the DHL integration during the 7-day free trial without a credit card.

What you should know about the DHL integration

Shipping and tracking are two separate APIs

On DHL, creating a shipment and tracking it do not run through the same service. The shipping side works with your eConnect application's credentials; tracking requires the separate key of its own tracking API product. That is why the setup takes values obtained from two different places.

The tracking key is optional — omit it and shipment creation keeps working, only status information is missing. Leaving it empty knowingly is a valid choice; leaving it empty unknowingly leads to "shipments are created but I cannot see where they are".

Tracking statuses mapped against the official list

The DHL connection is one of three carriers with a proven status mapping. DHL's unified tracking service groups statuses into a small, clear set — record created, in transit, delivered, failed, unknown — and that set is officially documented.

The consequence is that the mapping can be written against the list rather than guessed. When a shipment departs and when it is delivered, your order advances on its own. The "failed" and "unknown" states are deliberately not mapped — they are temporary and should not change the order's status; delivery can be retried.

On international shipments that clarity is especially useful, because customs already carries uncertainty; not adding carrier-side uncertainty on top makes the operation easier.

People looking at the DHL integration also read these

Before connecting you may want to work out the cost, compare similar platforms, or read the topic in depth. The pages below carry on from here.

Bring your DHL and Kargo channels together in one dashboard

Test Stokzone with a 7-day free trial, no credit card required.

All integrations