I was on the Royal Mail project for this back in 2015. It's unfathomably complicated !!!! Will need a digital twin cache for the parcel, an event processor for scans and updates and a secure API layer available worldwide. Ironically, might be an interesting use-case for blockchain (!!)