Should be easily implemented with PHP and MySQL.
save all tracking info (where what time with unique code) into mysql table:
retrieve location and time with code using PHP.
Get a good PHP book and at the end of reading you should be able to do that.
Good luck with your friends UPS start up😉