Switching to New UPS and FedEx REST API
If you have been using RocketShipIt previous to 2024 you likely are using the RocketShipIt carriers: UPS
and FedEx
. To use the newer REST based APIs you just need to authenticate differently and switch the RocketShipIt carrier
value to UPS-REST
and FedEx-REST
.
UPS and FedEx had a (now legacy) SOAP XML based API that RocketShipIt integrated with in 2008. In 2023 They added a JSON REST API. It appears that they used the same structure as their previous XML based APIs and their new JSON APIs are basically a fecade on top of their old API. The good news is most of the parameter names and structures haven't changed.
In order to use their new REST APIs, you will need to:
- In the carrier developer portals: Create an "App" (This makes a test
client_id
/client_secret
). That app has no permissions by default. - Request permissions for all the services you want to use (I suggest clicking all of them). This gives you permission to use rates, tracking, etc.
- Authenticate with
test=true
see: https://docs.rocketshipit.com/2-0/examples/#fedex-rest-authenticate - Make a request with
key
andtest=true
: https://docs.rocketshipit.com/2-0/examples/#fedex-rest-rates - Move to production
- Use new credentials and set
test=false
or omit thetest
param
NOTE For FedEx: Move to production right away. Their test env is not great. See: https://docs.rocketshipit.com/rs/docs/fedex-test-environment.html You will know when you get REQUEST.MISMATCH
errors.
UPS
03-05-2024 - UPS does not have signature or proof of delivery implemented yet in their new REST API.