Skip to main content

Set up DHL in yayloh

Connect DHL eCommerce, Express or Freight and create return labels, including paperless customs with DHL Express.

Written by Vineeta Pendse

Create DHL return labels directly from yayloh, with DHL eCommerce, DHL Express or DHL Freight. DHL Express also supports paperless customs for cross-border returns.

Using DHL through Webshipper or nShift instead? See Webshipper or nShift. For DHL Express cross-border returns, we recommend this direct integration, since it fully supports paperless customs.


Before you start

  • A DHL account for the division you use, with the countries you want to offer returns from.

  • Your warehouse set up under Settings > Stores & warehouses. You'll choose it when you create the route.

  • Admin access to yayloh.


Step 1: Get your credentials

Each DHL division needs different credentials. If you're not sure where to find them, ask your DHL account manager.

DHL division

Credentials

DHL eCommerce

Client ID, client secret, and customer identification number (EKP number)

DHL Express

Export account number and import account number

DHL Freight

Freight agreement number (or customer account number)


Step 2: Add DHL as a carrier

  1. Go to Settings > Carriers & Routes and open the Carriers tab.

  2. Click Add carrier and enter a name, for example "DHL Express".

  3. Choose the carrier company for your division: DHL_ECOMMERCE, DHL_EXPRESS or DHL_FREIGHT.

  4. Under Credentials, enter the credentials from Step 1.

Use more than one DHL division? Add a carrier for each.


Step 3: Create a route

  1. In the Routes tab, click Add route and choose your DHL carrier under Use.

  2. Under Allow returns from, choose the countries enabled in your DHL contract. You can also choose a Region, such as EU, and remove countries under Exclude countries.

  3. Choose your Default warehouse.

  4. Open Specifications and fill in the fields for your division below.

DHL eCommerce

Field

What to enter

SERVICE_NAME

DHL Parcel Return Connect or DHL Parcel Connect

LABEL_TYPE

QR or PDF, in capital letters

GROSS_WEIGHT_IN_KGM

The parcel weight in kilograms, for example 1

QR codes: DHL eCommerce QR codes work for returns from Belgium, Bulgaria, Germany, Spain, Luxembourg, Poland and Portugal, if they're enabled on your account. Create one route with QR for those countries, and a separate route with PDF for other countries.

DHL Express

Field

What to enter

SERVICE_CODE (required)

Your DHL Express service, for example EXPRESS_WORLDWIDE. Other options: EXPRESS_9_00_TDK, EXPRESS_9_00_TDE, EXPRESS_12_00_TDT, EXPRESS_12_00_TDY, EXPRESS_WORLDWIDE_EU, WORLDWIDE_DOCUMENT_EXPRESS, DOMESTIC_EXPRESS, ECONOMY_SELECT and ECONOMY_SELECT_EU.

PAPERLESS

Turn on for paperless customs (see below)

LENGTH, WIDTH, HEIGHT, WEIGHT

The default parcel size and weight, for example 20 × 15 × 10 and 1

UNIT_OF_DIMENSION, UNIT_OF_WEIGHT

The units for the parcel, for example CM and KGS

TAX_REDUCTION

Optional. Use it to adjust the value declared for customs.

DHL Freight

Field

What to enter

SERVICE_CODE (required)

Your DHL Freight service, for example DHL_SERVICE_POINT

PAYER_CODE

Leave empty for DHL Parcel Return Connect. For other DHL Freight services, enter your payer code.

LENGTH, WIDTH, HEIGHT, WEIGHT

The default parcel size and weight

UNIT_OF_DIMENSION, UNIT_OF_WEIGHT

The units for the parcel, for example CM and KGS

DHL Freight labels are PDF only.


Paperless customs (DHL Express only)

With paperless customs (Paperless Trade, PLT), customs invoices are sent to DHL electronically, so customers don't need to print them.

  1. Ask your DHL account manager to activate Paperless Trade on your DHL Express account.

  2. In your DHL Express route, turn on PAPERLESS.

  3. Test it with a return request that has an item with an HS code and a value of at least 1.

Returns from Great Britain and Northern Ireland: both use country code GB, but Northern Ireland follows EU customs rules. Set a DHL Express route without paperless as the fallback for your paperless GB route.


Step 4: Save and test

Click Apply changes, then create a test label on the Labels page.


Good to know

  • Labels only work for countries enabled in your DHL contract. To add a country, contact DHL first.

For how routes, priority and fallbacks work, see Carriers & Routes: how it works.

Did this answer your question?