Skip to main content

DHL

Use DHL for international returns.

Written by August Lykke Amstrup

DHL is connected under Settings → Shipping with Add provider, then DHL eCommerce Europe. It runs on Direct Carrier with your own DHL carrier agreement, or through your TMS. The integration applies to the whole shop, and the shipping options are set per country.

Use DHL for international returns.

Connect DHL

To set up DHL, follow the steps below.

You need a DHL carrier agreement with an EKP number. The EKP number has 10 digits and is in your DHL carrier agreement. It isn't your DHL account number. If you can't find it, then ask [email protected]. If a forwarder holds your DHL carrier agreement, then ask them for the EKP number.

  1. Create an account on developer.dhl.com with an email address on your company's domain, and confirm the email. If a 3PL ships for you, then the account is created in your name.

  2. Create an app with the name Returnflows and the APIs Shipment Tracking - Unified and Parcel DE Returns. Set Parcel DE Returns to Production. As description, write that the app books, tracks and fetches your DHL return parcels created through the return portal Returnflows.

  3. Email [email protected] with your company name and your EKP number, and ask DHL to connect the EKP number to Returnflows. DHL typically confirms by email within a few business days.

  4. Wait for DHL to approve the app, typically within 1 to 3 days. When the status is approved, copy the API Key and the API Secret under Credential.

  5. Select Add provider, then DHL eCommerce Europe. Enter the API Key, the API Secret and your DHL Customer EKP.

Until DHL has connected your EKP number to Returnflows, connecting fails with an unauthorized error. A DHL24 agreement in Poland has no EKP and needs a DHL eCommerce agreement instead.

After you connect, make a test return.

Raise the tracking limit

DHL limits a new app to 250 tracking lookups a day. When the limit is reached, no tracking is fetched until the next day. Request a higher limit after DHL approves the app. DHL sets the final limit from your monthly volume.

  1. Open your app on developer.dhl.com and select Request Rate Limit Upgrade next to Shipment Tracking - Unified.

  2. Fill in the form with your own details and the answers below.

  3. Wait for DHL to confirm by email.

Field

Answer

Are you a customer of the DHL Group?

Yes

Main DHL shipping account number

Your customer number at DHL

Email addresses of the related account manager

Your contact at DHL, otherwise [email protected]

What is your purpose of usage?

I want to track my own shipments

How many calls per day do you require?

10000

From which DHL divisions do you want to track shipments?

DHL eCommerce, Deutsche Post & DHL Paket

Additional Comments

Additional calls are required, as our return portal depends on tracking events to trigger actions.

Services and shipping options

Service

Use it for

DHL Parcel Return Connect

Returns across a border, such as from Germany to Denmark

DHL Paket Retoure

Returns inside Germany only

The wrong service is the most common DHL error we see. The label then fails to generate with a general error. Learn more in Label errors.

A return that crosses a customs border needs the HS code, the country of origin and the weight on the products in Shopify. Learn more in Customs. DHL doesn't handle paperless customs on returns from the UK. Returns from the UK often run on UPS. DHL limits an address field to 40 characters, and the phone number has to match the sender's country.

Labels and QR codes

DHL gives a print label everywhere, with a maximum of 31.5 kg per return package. On Direct Carrier you can add Generate QR Code on the option. Your customer then shows the QR code at hand-in in Belgium, Bulgaria, Germany, Spain, Luxembourg, Poland, Portugal and Sweden. The QR code sits on the first page of the PDF and the label on the second. The QR code doesn't work in every parcel shop. Keep a print option beside it. Through a TMS, DHL gives print labels only. Learn more in Labels.

Tracking

We fetch the tracking events from DHL, within the limit above. Delivered means the return package has arrived at DHL in Germany, not at your warehouse. DHL typically collects the return packages in consolidated boxes and drives them to you without more tracking events. Learn more in Tracking.

DHL Freight in Sweden

DHL Freight is a separate integration for returns to Sweden. Select Add provider, then DHL Freight. Enter your DHL Freight customer number and a tracking client ID from an app with Shipment Tracking - Unified.

Service

Use it for

Service Point Return

Returns inside Sweden

Parcel Return Connect

Returns to Sweden from the rest of Europe and from Norway

Home Delivery Return

Large products inside Sweden. Your customer books the pickup with DHL

A return from Norway crosses a customs border. We send the customs data digitally and email a copy of the pro forma invoice to DHL Freight. Learn more in Customs.

Good to know

Did this answer your question?