Get Credentials to Access Deutsche Post DHL Shipping API
Overview
AfterShip Shipping is a multi-carrier shipping software and API that enables you to automate shipping processes across USPS, UPS, FedEx, DHL, and 100+ other carriers. Get the required credentials and access the Deutsche Post DHL shipping API via AfterShip Shipping in just a few steps.
Credentials
Find your receiver id from DHL Business Customer Portal.

Required Deutsche Post DHL API credentials
| Field | Description | 
|---|---|
| Account number | Account number | 
| Username | Your username to login DHL Business Customer Portal | 
| Password | Your password to login DHL Business Customer Portal | 
Optional Deutsche Post DHL API credentials
Receiver ID: Required for Retoure service. If you have multiple receiver ID for different countries, can fill in all of them in one shipper account with the format:
{3-letter country code1}:{$receiver_id1}, {3-letter country code2}:{$receiver_id2}[etc.]
**For example: **
case 1: DEU:deu,FRA:fra
case 2: DEU:YourReceiverId  (In this case, your receiver ID in DHL is: Your Receiver Id)
Please note the values are case sensitive and not allow space.
If you want to use Retoure service but don't fill up the receiver ID, it will throw error as: "Error: Receiver ID is required for shipment from DEU"
Check your country code ** here **
Deutsche Post DHL developer resources
Updated on: 01/09/2025
