How often are DHL tracking numbers purged or deleted from the system?

Created by Jhonathan Ibanez, Modified on Thu, 7 Mar at 2:40 PM by Jhonathan Ibanez

DHL tracking IDs or shipment IDs are deleted at different times depending on the service and the business unit. In general, most are purged after 90 days once the shipment has been delivered; or a long time has passed from the last event.


Only some tracking IDs are stored and displayed for up to a year. For the best use of our systems, we ask that you stop tracking any shipment once it has been delivered.


If you try to track a shipment with a purged tracking ID, the API will return either a 404 or 500 error, depending on how fast it identifies it's an invalid tracking ID. Both error messages are correct and expected. You are more likely to get a 500 error for a purged tracking ID, as well as more likely to get a 404 error for an incorrect tracking ID that has a composition not related to our detection logic.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article