sailrish / shipit

shipit node module
MIT License
87 stars 65 forks source link

UPS API deprecation #36

Closed jarnoux closed 5 years ago

jarnoux commented 6 years ago

UPS is issuing deprecation emails for the url used in shipit:

Important update: Unsupported UPS® Developer Kit API URL will be eliminated

Effective December 31, 2018 UPS will disable all unsupported Developer Kit API URLs.

You are receiving this notification because our records indicate you are using an 
unsupported API URL (https://www.ups.com/ups.app/xml/ API name.) for 
UPS Developer Kit API transactions. Continued use of the URLs will subject your customers
 to unexpected outages and loss of packages with UPS.

To ensure you are using the correct URL for processing, we’ve made the latest version 
available in the Developer guide: https://onlinetools.ups.com/ API name. It should be 
used for all UPS Developer Kit API transactions.
sailrish commented 5 years ago

This is now fixed. See example: 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"
   }
}