UPS Authentication and API Changes

  • 26 June 2023
  • 37 replies
  • 1498 views

Userlevel 6
Badge

⚠️ Update Dec 11, 2023: The OAuth 2.0 and new API changes have been rolled out to Acumatica starting with 2023 R1 Update 13 and 2023 R2 Update 4. Configuration steps for using the new API and OAuth 2.0 will be available in the Acumatica help files soon. In the meantime, follow this link to the UPS Rest Configuration guide.

 

UPS recently published an announcement and how connection is established to their API. Partners or customer may have received the following notification. Acumatica is aware of this. Development work to address this change is being prioritized to address it in second-half of 2023.

The changes impact the Acumatica direct UPS integration in 2 ways:

  • New OAuth 2.0 for authentication. Since UPS is not issuing API access keys beginning June 5, 2023, which is how Acumatica performs authentication today, new customers or those in the process of implementation are immediately affected. The current workaround is to use our carrier aggregator integrations such as EasyPost or ShipEngine.
  • Acumatica’s integration was built on what UPS now refers to as “Legacy SOAP API” and needs to be upgraded to the new “RESTful API”. All existing customers who are already using the integration will be affected. However, they can continue to use the current integration until June 3, 2024.

Since the version of the API that is currently being used does not support OAuth 2.0, Acumatica will need to address both of these changes in the context of the same update. As in, we plan to switch to OAuth 2.0 for authentication as well as upgrade the integration to use the new RESTful API. We are hoping to roll these changes out to a minor update to some of the earlier Acumatica versions but this is TBD.


37 replies

Userlevel 7
Badge

Thank you for sharing your solution with the community @debbiereed72!

Userlevel 2
Badge

In case anyone else struggles like I did (The UPS Developer site is written for developers, which I am not) -API Documents | UPS - United States

I finally found on the right-hand side you can select Try It, then click on the box under Target Server and see the URL’s.

I hope this is correct - it seems to pass the test in the Carrier Integration screen in Acumatica.

I hope this saves someone else the frustration.

 

 

Userlevel 2
Badge

@Omar Ghazi - I have followed all the documentation and trying to understand how to read the API developer information in UPS.  How do I get the Endpoints for production?  I am lost here.  Thank you

Userlevel 2
Badge

Can anyone advise what goes in the callback URL field on the UPS end of this? I noticed someone else posted this screenshot and it was not populated. We have a client setting this up right now and are wondering what to enter here.

 

You dont need anything in there

Just make sure you have the products setup

 

Can anyone advise what goes in the callback URL field on the UPS end of this? I noticed someone else posted this screenshot and it was not populated. We have a client setting this up right now and are wondering what to enter here.

 

Userlevel 6
Badge

@alanconroynaw please create a support ticket with us for this bug that you found in 2023 R1 version. 

Userlevel 2
Badge

@MattWSM - we found this bug for some users and pushed a fix with 2023 R2 Update 10 (23.210).

@Omar Ghazi 

I have the same bug in 23.114  has there been a fix published for 2023R1?

Userlevel 6
Badge

@debbiereed72 Good question! UPS switched to REST-based so please use the PX.UpsRestCarrier.UpsRestCarrier. This is also in the configuration guide (linked with the original post) and the help files will have this information as well.

 

The PX.UpsCarrier.UpsCarrier as of now will not work any longer and will be removed as an option in a future Acumatica release.

Userlevel 1

Debbie,

You will want to use the UPSRestCarrier, and if you will be shopping for rates, you will want to update Acumatica to at least build 210 or you will not get rates if you have a package greater than 50 lbs.

Userlevel 2
Badge

Hi all -- appreciate all the information here, but I am just confused.  2023R2 - 23.207.0025.

Which Plug-In is supposed to be used? And, how do we decide which is correct?

 

 

@Omar Ghazi - Thank you for the update.  We will discuss getting the update from our VAR.

 

Userlevel 6
Badge

@MattWSM - we found this bug for some users and pushed a fix with 2023 R2 Update 10 (23.210).

@Omar Ghazi   Thanks for the quick reply.

We are on Build 23.204.0031

 

 

Userlevel 6
Badge

@MattWSM which Acumatica version are you working on?

We have implemented the UPS Integration and when I test the connection from the Carriers Screen I get a “Sucessful” message.  However on the shipments screen I am receving the folowing error when “shopping” for rates:

Can anyone shed some light on what might be driving this error?

The new integration is working properly for us, but we need to rotate the UPS label, similar to what Acumatica did with this package: GitHub - Acumatica/Acumatica-Rotate-UPS-Label: Customization to rotate Shipping Label image retrieved from UPS Carrier while confirming Shipment in Acumatica. Does anyone know if a similar package exists for the new integration?

In case that helps somebody, we used the same project below and just added the next condition to work with both types of plugins:

 if (plugin?.PluginTypeName?.Trim() == typeof(PX.UpsCarrier.UpsCarrier).FullName || 
plugin?.PluginTypeName?.Trim() == typeof(PX.UpsRestCarrier.UpsRestCarrier).FullName)

 

The new integration is working properly for us, but we need to rotate the UPS label, similar to what Acumatica did with this package: GitHub - Acumatica/Acumatica-Rotate-UPS-Label: Customization to rotate Shipping Label image retrieved from UPS Carrier while confirming Shipment in Acumatica. Does anyone know if a similar package exists for the new integration?

Userlevel 6
Badge

@alanconroynaw we apologize for the inconvenience, there was a mistake in the documentation. This is available with 2023 R1 Update 13, 2023 R2 Update 4, and later. The documentation has been updated to reflect this. 

Userlevel 2
Badge

@Omar Ghazi 

Why do the instructions in the link at the top state that you can install a 22r2 build and yet it is not available in the 22r2 build?

 

Userlevel 6
Badge

@ramakrishnan91 this has been available with 2023 R1 Update 13, 2023 R2 Update 4, and 2024 R1 RC releases and later.

Userlevel 2

hi @Omar Ghazi  - is there an ETA on this 22R2 version ?

Userlevel 6
Badge

@andrewh22 Thank you for sharing! Please keep me posted here and I will communicate with the engineering team to see if we can add a list of products required (or optional) for the integration to see if we can add that to our documentation.

Userlevel 1
Badge

@Omar Ghazi There are some confusing ‘authentication’ errors you get on the Acumatica side if you choose the wrong options in the UPS developer portal - when you first setup the application.

I ended up saving these UPS products pictured below.  I am still in testing and will report back if I find others are needed or not needed but so far these seem right and do not result in any additional charges from UPS’ side.

 

Userlevel 6
Badge

@andrewh22 thank you for your comment! I am curious as to why you reached out to UPS directly and what steps they provided to help you with the configuration steps of the “Create Application” phase. Unless they are very specific to your account, would you be willing to share so we can see if we have an opportunity to improve our documentation to address them for others?

Userlevel 1
Badge

In case anyone is hunting down UPS Developer phone support here it is (as of 2/16/2024):  (800) 247-9035 (option 3, option 3).  They helped me complete the options needed on the ‘Create Application’ step referenced in this article and were more helpful than I expected.

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved