sailrish / shipit

shipit node module
MIT License
87 stars 65 forks source link

Error get UPS Tracking Status #42

Closed chjpzukon closed 5 years ago

chjpzukon commented 5 years ago

Error get UPS Tracking Status

http://shipit-api.herokuapp.com/api/carriers/ups/1Z0918WV0306763470

Please help me

sailrish commented 5 years ago

Hello, while this issue has been fixed in the shipit library, we haven't updated the shipit-api endpoint with the fix. That explains the error you're seeing. We expect to update the endpoint sometime in the next week or two.

chjpzukon commented 5 years ago

Thank You Sir

sailrish commented 5 years ago

All looks good now: http://shipit-api.herokuapp.com/api/carriers/ups/1Z0918WV0306763470

{  
   "service":"Ups Ground",
   "weight":"1.70 LBS",
   "destination":"Sault Sainte Marie, MI 49783",
   "activities":[  
      {  
         "timestamp":"2018-11-26T10:41:43.000Z",
         "location":"Sault Sainte Marie, MI 49783",
         "details":"Delivered",
         "statusType":"D",
         "statusCode":"KB"
      },
      {  
         "timestamp":"2018-11-26T09:07:30.000Z",
         "location":"Rudyard, MI",
         "details":"Out for delivery today",
         "statusType":"I",
         "statusCode":"OT"
      },
      {  
         "timestamp":"2018-11-26T07:43:33.000Z",
         "location":"Rudyard, MI",
         "details":"Destination scan",
         "statusType":"I",
         "statusCode":"DS"
      },
      {  
         "timestamp":"2018-11-26T07:31:00.000Z",
         "location":"Rudyard, MI",
         "details":"Out for delivery",
         "statusType":"I",
         "statusCode":"OF"
      },
      {  
         "timestamp":"2018-11-26T07:29:00.000Z",
         "location":"Rudyard, MI",
         "details":"Arrival scan",
         "statusType":"I",
         "statusCode":"AR"
      },
      {  
         "timestamp":"2018-11-26T01:39:00.000Z",
         "location":"Wyoming, MI",
         "details":"Departure scan",
         "statusType":"I",
         "statusCode":"DP"
      },
      {  
         "timestamp":"2018-11-23T23:19:00.000Z",
         "location":"Wyoming, MI",
         "details":"Arrival scan",
         "statusType":"I",
         "statusCode":"AR"
      },
      {  
         "timestamp":"2018-11-23T21:00:00.000Z",
         "location":"Livonia, MI",
         "details":"Departure scan",
         "statusType":"I",
         "statusCode":"DP"
      },
      {  
         "timestamp":"2018-11-23T11:03:57.000Z",
         "location":"Romulus, MI",
         "details":"Origin scan",
         "statusType":"I",
         "statusCode":"OC"
      },
      {  
         "timestamp":"2018-11-23T14:07:47.000Z",
         "location":"US",
         "details":"Order processed: ready for ups",
         "statusType":"M",
         "statusCode":"MP"
      }
   ],
   "status":4,
   "request":{  
      "trackingNumber":"1Z0918WV0306763470"
   }
}