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.
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.
Read DHL Express docs
Supported DHL Express service types and service options
Postmen DHL technical support: support@postmen.com
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: support@postmen.com
Updated on: 20/06/2022
Thank you!