I finally got the UPS tracking API to work. Or atleast I think I do. It is giving me a 'invalid tracking number' response. My problem right now is I have no packages to track. Does anyone know of any resources that allow me to test fake orders from UPS, or anything that will give a response ? Thanks
I am using the UPS Tracking Developers Kit and need package resposnes.
A UPS tracking number, for domestic packages within the United States, will usually start with "1Z" followed by a 6 character shipper number (numbers and letters), a 2 digit service level indicator, and finally 8 digits identifying the package (the last digit being a check digit), for a total of 18 characters.
To track an entire UPS World Ease shipment, select the 11-digit master shipment ID number of the doc box for the consolidated clearance shipment. By submitting this number, all package 1Z tracking numbers in the shipment will be added to the Tracking Number Manager.
Sequence Number (MMS/MMI Number): an 18-digit number assigned internally by UPS Mail Innovations or UPS WorldShip.
We make it easy to see where your shipment is when you track. Because we assign a tracking number (this is a number that typically starts with a 1Z) to each package, you'll know about your shipment's progress when it's scanned as it moves through the UPS system.
You can use production tracking numbers on the UPS test environment. Moreover, on the Appendix H of the Tracking Web Service Developers Guide (December 31, 2012), you can find a list of tracking numbers that can be useful if you want see tracking numbers with different set of information like proof of delivery.
Best!
These were taken from the July 11, 2016, UPS Tracking Tracking Web Service Developer Guide, pg. 13.
TRACKING NUMBER, SERVICE, RESPONSE 1Z12345E0205271688 (Signature Availability), 2nd Day Air, Delivered 1Z12345E6605272234, World Wide Express, Delivered 1Z12345E0305271640, (Second Package: 1Z12345E0393657226), Ground, Delivered 1Z12345E1305277940, Next Day Air Saver, ORIGIN SCAN 1Z12345E6205277936, Day Air Saver, 2nd Delivery attempt 1Z12345E020527079, Invalid Tracking Number 1Z12345E1505270452, No Tracking Information Available 990728071, UPS Freight LTL, In Transit 3251026119, Delivered Origin CFS MI Tracking Number: 9102084383041101186729 MI Reference Number: cgish000116630 1Z648616E192760718, UPS Worldwide Express Freight, Order Process by UPS 5548789114, UPS Express Freight, Response for UPS Air Freight ER751105042015062, UPS Ocean, Response for UPS Ocean Freight 1ZWX0692YP40636269, UPS SUREPOST, Response for UPS SUREPOST
Here's an update in case someone comes across this as I did.
The below data is taken from the Tracking Web Service Developer Guide (January 9, 2017).
You should be able to access it from the UPS Developer Kit download page. There's a section called Download the API
with a link to download Tracking.zip. The developer guide is located at Tracking.zip\Tracking\Developers Guide\Tracking Web Service Developer Guide.pdf
The table is located on page 7.
"Type","Value","Option","Service","Response"
"Tracking","1Z12345E0205271688\n(Signature Availability)","Activity (All)","2nd Day Air","Delivered"
"Tracking","1Z12345E6605272234","None (Last)","World Wide Express","Delivered"
"Shipping","1Z12345E0305271640\n(Second Package:\n1Z12345E0393657226)","None (Last)","Ground","Delivered"
"Tracking","1Z12345E1305277940","None (Last)","Next Day Air Saver","ORIGIN SCAN"
"Tracking","1Z12345E6205277936","Activity (All)","Next Day Air Saver","2nd Delivery attempt"
"Tracking","1Z12345E020527079","None (Last)",,"Invalid Tracking Number"
"Tracking","1Z12345E1505270452","None (Last)",,"No Tracking Information Available"
"Tracking",990728071,"Activity (All)","UPS Freight LTL","In Transit"
"Tracking",3251026119,"Activity (All)",,"Delivered Origin CFS"
"MI Tracking Number",9102084383041101186729,"None (Last)",,
"MI Reference Number","cgish000116630","None (Last)",,
"Tracking","1Z648616E192760718","Activity","UPS Worldwide Express Freight","Order Process by UPS"
"Tracking",5548789114,"Activity","UPS Express Freight","Response for UPS Air Freight"
"Tracking","ER751105042015062","Activity","UPS Ocean","Response for UPS Ocean Freight"
"Tracking","1ZWX0692YP40636269","Activity","UPS SUREPOST","Response for UPS SUREPOST"
Hope that helps the next person to come along :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With