To integrate your DHL carrier with WeSupply, first, you have to register an App on the DHL API Developer Portal website and get your API subscription keys.
Second, you will have to request an upgrade for additional calls per day if the 250 calls limit/day is reached.
A. API subscription keys
Access the DHL API Developer Portal website to start the process: https://developer.dhl.com/
Click on the Sign-Up button to create an account if you don't have one yet and complete the process.
If you already have an account on the DHL API Developer Portal, please sign in to your account.
Once you head into your DHL account, click on the Apps tab:
Click the Create App button:
Complete the Create App form and select the APIs you want to access. In this case, Shipment Tracking - Unified.
Once you have completed the form, click the Create App button.
Once your API Keys are approved, those will be used to connect your DHL account to WeSupply!
B. Rate Limits
Rate limits protect the DHL infrastructure from suspicious requests that exceed defined thresholds.
When you first request access to the Shipment Tracking - Unified API, you will get the initial service level which allows 250 calls per day with a maximum of 1 call per second.
Additional rate limits are available and they are granted according to your specific use case.
How you can calculate the number of calls you should request depends on the number of DHL shipments you have per day x 8. Let's say that you have around 500 DHL shipments/day x 8, this results in an increase of 4000 calls/day.
If you would like to request for additional limits, please proceed with the following steps:
Click on the Apps tab:
Once your App is approved, click on the App you've created:
Scroll down to the APIs list and click on the Request Upgrade button to request an increase in the number of calls per day.
Please refer to the DHL documentation for further information: User Guide
Q1: Will DHL charge my account based on the number of calls?
A: No, there is no additional charge. DHL just wants to make sure nobody is abusing the DHL API without reason.