UPS Tracking API Integration

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • In Progress
  • (Edited)
I currently have a table called Shipments which has fields titled Shipping Status and Tracking Number. I would like to use the UPS Tracking API to make it so the Shipping Status Field will automatically update and display the tracking status based on its respective Tracking number. I already have the "Track It" button incorporated into my app which opens a new browser window and displays the UPS website with the tracking information displayed but would like to simplify the process down so its just displays the status in the record itself.

Has anyone already done something like this? Or can help me achieve this? I am starting from ground zero and a could use a little guidance in getting this project off the ground.
Photo of Dan Park

Dan Park

  • 410 Points 250 badge 2x thumb

Posted 2 years ago

  • 0
  • 1
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 28,304 Points 20k badge 2x thumb
You need to use a server to proxy the results through:

http://stackoverflow.com/questions/32051105/cors-alternatives
Photo of QuickBasePros_IDS

QuickBasePros_IDS, Champion

  • 2,298 Points 2k badge 2x thumb
One of my clients wanted to use Quickbase to track shipment deliveries.  We found a great free tool (they do of course hope you use their paid product), but you can use their API for free.  Check out Shippo.com.  Charles Guilbert at Trinity Integrated Solutions got the API to work, so I would highly recommend talking to him about integration if you need that skillset.
Photo of Christine

Christine

  • 378 Points 250 badge 2x thumb
Hi Dan, I think I've done essentially what you're asking for.  You can view the code here:
https://jsfiddle.net/ap3tqw6c/

If you have any questions or need help making it work for you, just let me know.  
Photo of Christine

Christine

  • 378 Points 250 badge 2x thumb
And I meant to mention it uses the https://goshippo.com/ link QuickBasePros_IDS mentioned above.