Get Access to UPS Shipping API with OAuth 2.0
Overview
This guide will assist on how you can access UPS Shipping API with OAuth 2.0.
đź’ˇUPS has implemented an OAuth 2.0 security model. This requires you to use OAuth to authorize AfterShip Shipping for actions like accessing UPS rates or printing UPS labels. All UPS customers must reauthorize their accounts by July 31, 2024.
How to create a new UPS Account and register to a UPS.com profile
If you don’t have a UPS profile yet, create a new account using this link .
After creating the account and signing in, navigate to Accounts and Payment .
From the Add a Payment Method dropdown, select Add Existing Account . You will be prompted to enter your UPS Account Number , a nickname , and your postal code .
To verify your account, you'll need either your Invoice Data or PIN , which should have been sent to the original email address used during account creation.
Once UPS successfully verifies your Invoice Data or PIN, the registration process on UPS.com will be complete.
If you already have an existing UPS.com profile, ensure you have the account's username and password, and make sure your UPS account number is registered to the UPS.com profile.
How to authorize UPS in AfterShip Shipping
Log in to AfterShip Shipping and go to the Carriers section.
Click Add Carrier and search for UPS .
Click the UPS logo , then select Login with UPS .
Follow the prompts on the UPS authorization page. Review and check the agreement, then enter your UPS username and password.
You will be redirected back to AfterShip Shipping. Enter your UPS account number and address information as required.
How to find your UPS address
Please login UPS portal and find Addresses as below.
The UPS account number and address cannot be updated after account creation. This is because, during the account setup, UPS verifies that the account details—including account number, address, phone number, and email—match the information in their system. If you have made any changes to your account details with UPS, please reconnect your UPS account with us.
FAQs
1. When do I need to update my UPS account?
To continue accessing shipping and accessing rates with UPS, verify your UPS shipping account by Jul 31, 2024.
2. How can I ensure that this change doesn't affect my use of UPS via AfterShip Shipping?
Please register your UPS shipping account to an existing UPS.com profile if you haven't done so already. You'll need your UPS.com profile's username, password, and UPS account number for verification.
Go to the AfterShip Portal, click Update , and authorize your account with your UPS account ID. Please make sure the login username, password is associated with the account number to use.
3. What should I do if I have multiple UPS account numbers?
If you have multiple UPS account numbers, register all of them under a single UPS.com profile.
Log in to UPS with your username and password, and select Accounts and Payment .
From the "Add a Payment Method" dropdown, select "Add Existing Account". You'll be asked to add your "UPS Account Number", a nickname, and postal code.
Please do the same for your other account numbers.
4. Who should I contact if I need help creating a new UPS.com profile or registering my account?
Contact UPS through their Contact Us Page .
Other UPS Developer Resources
UPS OAuth 2.0 Migration Guide: https://developer.ups.com/oauth-developer-guide?loc=en_US
Read UPS docs: https://developer.ups.com/
Supported UPS Service Types And Service Options: https://www.aftership.com/docs/postmen/enum/service-options-lists
UPS servie code | AfterShip Shipping service_type | AfterShip Shipping service_name |
---|---|---|
01 | ups_express | UPS Express® |
01 | ups_next_day_air | UPS Next Day Air® |
02 | ups_2nd_day_air | UPS 2nd Day Air® |
02 | ups_expedited | UPS Expedited® |
03 | ups_ground | UPS® Ground |
07 | ups_express | UPS Express® |
07 | ups_worldwide_express | UPS Worldwide Express® |
08 | ups_expedited | UPS Expedited® |
08 | ups_worldwide_expedited | UPS Worldwide Expedited® |
11 | ups_standard | UPS® Standard |
12 | ups_3_day_select | UPS 3 Day Select® |
13 | ups_express_saver | UPS Express Saver |
13 | ups_next_day_air_saver | UPS Next Day Air Saver® |
14 | ups_express_early | UPS Express Early |
14 | ups_next_day_air_early_am | UPS Next Day Air® Early |
17 | ups_worldwide_economy_ddu | UPS Worldwide Economy DDU |
54 | ups_express_early | UPS Express Early |
54 | ups_express_plus | UPS Express Plus® |
54 | ups_worldwide_express_plus | UPS Worldwide Express Plus® |
59 | ups_2nd_day_air_am | UPS 2nd Day Air A.M.® |
65 | ups_express_saver | UPS Express Saver |
65 | ups_saver | UPS Worldwide Saver® |
70 | ups_access_point_economy | UPS Access Point Economy |
71 | ups_express_freight_midday | UPS Worldwide Express Freight® Midday |
72 | ups_worldwide_economy_ddp | UPS Worldwide Economy DDP |
74 | ups_express_1200 | UPS Express® 12:00 |
82 | ups_today_standard | UPS Today Standardâ„ |
83 | ups_today_dedicated_courier | UPS Today Dedicated Courierâ„ |
85 | ups_today_express | UPS Today Express |
86 | ups_today_express_saver | UPS Today Express Saver |
92 | ups_surepost | UPS SurePost® |
93 | ups_surepost | UPS SurePost® |
96 | ups_worldwide_express_freight | UPS Worldwide Express Freight |
M2 | ups_first_class_mail | UPS First Class Mail |
M3 | ups_priority_mail | UPS Priority Mail |
M4 | ups_expedited_mail_innovations | UPS Expedited Mail Innovations |
M5 | ups_priority_mail_innovations | UPS Priority Mail Innovations |
M6 | ups_economy_mail_innovations | UPS Economy Mail Innovations |
AfterShip Shipping UPS technical support:Â support+shipping@aftership.com
Updated on: 11/11/2024
Thank you!