To assign DHL products to your shipping methods and create labels automatically, you first need to configure a few settings.
Prerequisite: The DHL integration requires Shopware 6.5 or newer. The reason is a change to the DHL API, which can no longer be used with older Shopware versions. With Shopware 6.4, no connection to the DHL Business Customer Portal can be established — the message The credentials are NOT valid! appears even though the stored credentials are correct. You can find out which version your shop uses in the article Which Shopware version does my shop use?. Which version of the DHL plugin you need for your Shopware version is described in the next section.
Which version of the DHL plugin do I need for the new DHL API?
You use the new DHL API (REST) with a DHL plugin version that matches your Shopware version. If your shop already has a matching version, you don't need to do anything.
Shopware version | DHL plugin version |
Shopware 6.6.2.0 or newer | 3.5.0 or newer |
Shopware 6.5 | 2.8.2 (or 2.8.2.1) |
Shopware 6.4 and older | no update available |
There is no update of the DHL plugin for Shopware 6.4 and older. Since June 2026, DHL labels can no longer be created via Pickware there.
Creating DHL labels without a Shopware update
If you can't update Shopware yet, you can temporarily create DHL labels directly in the DHL Business Customer Portal. Here's how:
Create the label in the DHL Business Customer Portal.
Enter the tracking code on the order in the Shopware Admin.
Only then mark the order as shipped. Only in that case will the tracking code appear in the shipping confirmation sent to your customer.
Registration with DHL
To create shipping labels for DHL in Pickware, you need access to the DHL Business Customer Portal. You can request it quickly and easily here once you ship a total of 200 domestic and/or international parcels per year.
Using the enclosed return
When creating DHL shipping labels, you can choose directly to attach a return label. This is the enclosed variant of the DHL return, which requires its own billing number. If you don't have such a billing number, please contact your contact person at DHL.
Pickware only supports DHL Retoure Online. The DHL Retoure Selbstzahler variant is not compatible and therefore cannot be used for the automatic creation of return labels.
If DHL Retoure Selbstzahler has nevertheless been set for a shipping method or product, creating a shipping label results in an error message. In this case, make sure the correct return type DHL Retoure Online is used.
You activate the enclosed return per shipping method under Carrier → Shipment config → Enclosed return (Beilegeretoure). It is a separate DHL service that DHL has to enable for you. The enclosed return also works when creating labels via bulk edit.
You cannot suppress the printing of the enclosed return. If you only want to generate a return label without printing it, use a flow with the action Create return label.
For orders with DHL Paket International, you don't need a separate return product. If you create a return label for such an order, Pickware automatically uses DHL Retoure International.
Enclosed return for marketplace orders
Some marketplaces such as OTTO require a return tracking code for every order. With the enclosed return, you generate it automatically and pass it on to the marketplace:
Create a separate shipping method for marketplace orders and activate the enclosed return only there. This way, your other orders won't receive a return label.
Pickware stores the return tracking code in the custom field Return tracking codes (Retouren-Tracking-Codes) of the order. Add this custom field to the order in the Shopware custom fields.
Select the custom field in your marketplace connector as the return tracking code, for example in magnalister under OTTO → Configuration → Orders.
DHL settings in the Admin
Before you configure the settings for DHL, make sure you have first configured the general settings for all carriers. You can find them under Settings → Extensions → Shipping labels common. The settings apply to all carriers you use. You can find all the details here.
Under Settings → Extensions → DHL you'll find the settings specifically for DHL shipping.
Sales Channel
Here you can define which of your Sales Channels the following settings should apply to. By default, the settings apply to all Sales Channels. If you only use one Sales Channel, still select the option All sales channels. If you select a specific shop, all fields are initially linked to the general settings. You can recognize this by the chain icon and the greyed-out fields. Click the icon to remove the link and enter individual values, while other fields remain linked. |
DHL Business Customer Portal login
Username and password - Enter your username and password for the DHL Business Customer Portal here. Please test your credentials first by logging in to the DHL Business Customer Portal.
Use the testing web service - Activate this option if you don't want to use DHL's productive web service. In this case, you need to enter the API key in the Username field and the API secret of your DHL developer portal account in the Password field. You can find the data in the DHL developer portal under Account.
Premium vs. Economy with DHL Paket International
For DHL Paket International, DHL distinguishes between Premium and Economy labels. Which type of label is generated is determined by your configuration in the Admin.
Apart from this configuration, some countries also have requirements that determine whether a label can be created. For this, DHL works with country groups that use different rules.
Premium and Economy available with free choice
In countries such as Switzerland, you can control label creation simply by activating the respective option:
Premium activated → Premium label
Premium deactivated → Economy label
Premium and Economy available with limited choice
In countries (e.g. Austria or Denmark) where both Premium and Economy are possible and tied to different delivery types, the combination of delivery type and Premium option determines the result:
Home delivery → always Premium
Closest Droppoint → always Economy
This results in:
Premium deactivated + Closest Droppoint active → Economy label
Premium deactivated + Closest Droppoint not active → Premium label anyway, since home delivery is only possible with Premium
Only Premium available
For some countries (e.g. Luxembourg), DHL generally does not offer an Economy variant and only Premium is available. In such cases, DHL always enforces a Premium label, regardless of whether Premium is activated or deactivated in Pickware or whether the Closest Droppoint is used.
Country group | Examples | Rules for label generation |
Premium and Economy available with free choice | Switzerland | • Premium activated → Premium |
Premium and Economy available with limited choice | Austria, Denmark | • Home delivery → Premium |
Only Premium available | Luxembourg | • DHL does not offer Economy |
You can find a detailed overview of the different DHL country groups and tariff zones here.
Using PDDP with DHL International
To use DHL's Postal Delivered Duty Paid (PDDP) service for international shipping, you need to navigate in your Admin to Settings → Shipping → the relevant shipping method. Here you need to activate the options Assumption of import duties (Übernahme der Einfuhrabgaben) and Create export documents (Exportdokumente erstellen). Then you still need to select the correct Incoterm Delivered Duty Paid (DDP), including customs clearance, duties and taxes.
With these settings, you can use the service smoothly for international shipping as well.
The selected product must be a DHL International product.
Contract information
Once you have entered your correct login credentials for the DHL Business Customer Portal, you can click the Retrieve contract data button at the top so that your customer number, the billing numbers of the individual DHL products and the return recipients are automatically imported from the DHL Business Customer Portal. Alternatively, you can also find this data in the DHL Business Customer Portal under the menu item Contract data (Vertragsdaten).
Preferred services
Here you'll find some of the settings for the DHL preferred delivery feature. It is important that you enter your customer number (EKP) here if you want to use the preferred services. You can find the exact setup steps here further down in this article.
DHL also offers the option to have shipments delivered to parcel shops and similar locations. You can find all details on the configuration here.
Return recipients
Enter the Receiver Id of the return recipient for each country here. You can find this information in the DHL Business Customer Portal under Parcels & Goods → Returns → Settings.
Account data
This data is needed to route cash on delivery payments to the correct account. In the fields Payment reference and Customer reference, you can use the placeholder #####{{ customerReference }} to insert the respective order number.
Saving data
Don't forget to save the data you entered using the blue button at the top before you leave the menu. If the button shows a white checkmark instead of the word "Save", this means that all data has been saved since your last entry.
DHL settings in the DHL Business Customer Portal
In the DHL Business Customer Portal under Parcels & Goods → Ship → Settings → General settings, you'll find further settings for the shipping labels. It is important that you configure the corresponding printer settings in the Business Customer Portal so that the shipping labels are printed correctly.
By default, the following print settings are selected for printing on DIN A5:
Shipping label – Common Label laser print 105 x 205 mm (910-300-700)
Return shipping label – Common Label laser print 105 x 205 mm (910-300-700)
The exact identifier of the paper format used (xxx-xxx-xxx) can be found as a small number on the DHL shipping labels. For certain use cases, the following size settings are suitable:
Hiding the additional labels on the side of the shipping label – Common Label laser print 105 x 205 mm (910-300-700) without additional labels
Using thermal label printers – Common Label thermal print 103 x 199 mm (910-300-600, 910-300-610)
Shipping to Packstations, parcel shops or Deutsche Post post offices
The DHL shipping extension also supports shipping to a Packstation, a Deutsche Post post office or a parcel shop.
Attention: The recipient's PostNumber belongs in the PostNumber field or in the address addition, not in the Company field. It consists of 6 to 10 digits without spaces. If the label shows "0000000" instead of the PostNumber, check in which field of the shipping address the PostNumber is entered.
Process from the customer's perspective
Customers create a different shipping address in their customer account or directly when completing the order.
Customers select whether they want their order delivered to a DHL Packstation, a Deutsche Post post office or a DHL parcel shop.
Clicking the Select on map button opens the Location finder window. There, a postal code can be entered. All facilities in the surrounding area are then shown on the corresponding map section. Clicking one of the symbols opens a pop-up with the address and opening hours.
Via the Select button, the Packstation number, postal code and city are transferred into the form above. Customers then only need to enter their PostNumber.
Storefront configuration
To offer your customers this option, open your DHL shipping method under Settings → Shop → Shipping. In the section Storefront config → Delivery options (Lieferoptionen), you can define which delivery locations should be available.
The selection of a Packstation, a Deutsche Post post office or a parcel shop only appears in the checkout if the customer creates a different shipping address. If it is still not displayed, check the delivery options in the shipping method and test the checkout with the Shopware default theme. This way you can tell whether a conflict with your theme is preventing the display.
Configuring the Google Maps API key
For the map used to search for Packstations etc. to be displayed, you need a Google Maps API key. You can then enter it under Settings → Extensions → Shipping labels DHL in the Preferred services area. How to get such an API key is described here.
Privacy
Please also note that you need to adjust your privacy policy if you want to offer this service. In the checkout, only a placeholder map is shown at first. By clicking the button in the message, customers agree to their data being passed on to Google Maps so that the actual map is displayed to them.
The message already links to the privacy policy. All you need to do is add a corresponding section within the privacy policy.
You can customize the content of the privacy policy under Content → Shopping Experiences. You can find detailed information on the design options for layouts at Shopware in the documentation.
Configuring preferred delivery
The DHL preferred delivery service gives your customers the option to choose various additional options for the delivery of their shipment, such as delivery on a preferred day or to a preferred neighbour.
With our DHL shipping extension, these options can already be set by the customer when completing the order, provided you have configured the corresponding settings in the Administration. For these services to be used, you need to store your customer number (EKP) in the DHL settings in your Shopware Admin.
Activating and configuring the preferred delivery feature
To do so, go to Settings → Shop → Shipping and select your DHL shipping method. Please note that the preferred delivery feature is only available for domestic shipping with DHL Paket. In the section Storefront config → Preferred delivery (Wunschpaket), you can define which preferred delivery options should be available at checkout.
Which days are available for delivery is specified by DHL. However, you can define an internal processing time, which is then taken into account for the proposals for the preferred day.
You can find further settings to influence the preferred day under Settings → Extensions → Shipping labels DHL in the Preferred services area. If orders arrive after the time defined under Last order time (Letzter Bestellzeitpunkt), they are treated like orders for the next day.
In the field Excluded delivery days (Ausgeschlossene Liefertage), you exclude delivery days, not picking days. An example: If you don't pick on Saturdays and therefore don't want to offer delivery on Monday, you exclude Monday.
The preferred delivery feature during picking
You can see the customer's preferred delivery configuration in the order detail in the custom fields area.
When you create a shipping label, the corresponding fields are already pre-filled according to the customer's details, and the information is then also printed on the shipping label. Only the drop-off location is visible solely to the parcel courier for data protection reasons.
Cash Point Closing via the Business Customer Portal
DHL automatically performs a daily closing, in which the created shipping and return labels are manifested and billed. After that, a shipping label can no longer be canceled or deleted.
The time for the daily automatic closing is 5:45 pm by default and can be changed in the DHL Business Customer Portal via Parcels & Goods → Ship → Settings → Shipping notifications & daily closing in the Daily closing tab.
Defining the recipient address for return labels
The recipient address for return labels can be changed in the DHL Business Customer Portal under Parcels & Goods → Returns → Settings.
There you'll find a table with one entry per country. Using the pencil icon, you can adjust the data and store the desired address.
FAQ: Printing a company logo on the DHL label
This is currently not possible, as the DHL web service currently offers no way to pass the logo and print it on the label.
These are the next steps
