Articles on: Shipper Account

DHL Express Developer Guide & API Credentials

This developer guide shows how to access DHL shipping API via Postmen, and DHL Express web services / XML services. See also the list of required API credentials/keys for DHL integration.

Get DHL Developer Credentials

First, you will need to register on DHL Express XML Developer Portal
When registering please make sure to indicate that you are using AfterShip in the field titled, “Describe the application and business process where XML Services will be used.”
DHL will provide DHL XML- PI toolkit (Developer guide), and API credentials for both Sandbox and Production environment: Site ID and Password.
It takes around 24 hours for the API credentials to be activated.

Required DHL API credentials

Optional DHL credential

Show account on invoice: The possible values for this field are - YES or NO. If not specified, it will be set as NO by default. If this field is set as YES,  the WayBill DOC will display payer's details.

Please note: DHL will print WayBill DOC only if the value of field "service_options.paperless_invoice" is not set or is set as false.

DHL Developer Resources

Read DHL Express docs
Supported DHL Express service types and service options
Postmen DHL technical support:

Updated on: 20/06/2022

Was this article helpful?

Share your feedback


Thank you!