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.
Get Deutsche Post DHL Developer Credentials
- Create a Deutsche Post DHL account.
- Go to the **Release & operation **section under the **APIs **tab and create a new application under the **APIs **section - Release & operation.
- Enter the required details
- Enable operations that you’d be using. To successfully print/cancel labels from AfterShip Shipping, enable the below-mentioned operations under Geschäftskundenversand/Business customer shipment.
- createShipmentOrder
- deleteShipmentOrder
- doManifest
- getLabel
- getManifest
- Save changes and note down the application ID
- Click the “Request approval” button, read the conditions, and check the “Approval conditions read and satisfied” checkbox. Click “Complete approval request”.
- Click the “Create token” button to generate a token and note it down
Required Deutsche Post DHL API credentials
(You can display or generate these after the release of your application for live use under My Applications)
Field | Description |
---|---|
Account number | Account number |
Username | ApplicationID |
Password | Application token |
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: 12/11/2024