Closed itiievskyi closed 1 month ago
Have you tried using KGS for the UOM?
I'm converting between international Imperial, US Imperial, and metric all the time depending which API and UOM I'm working with.
Hi, thank you for your comment. In order to investigate this, we require more information. Please reach out to the UPS Help Desk via the information here: https://developer.ups.com/contactus.
Hi,
I'm currently using the latest REST API specification (version 2403) to communicate with UPS. When attempting to create a shipment using the service "17" (Worldwide Economy DDU), I encounter the following error:
Request Body:
Issue Description:
In earlier versions of the API (which are deprecated but still functional), I successfully used "LBS" as the Unit of Measurement (UOM) for the Package container, and everything worked as expected. However, in the latest version, this approach no longer seems valid for Worldwide Economy (WWE), as it does for Mail Innovations service. According to the documentation and my testing, "OZS" is the only acceptable UOM for WWE now.
When I include "OZS" as the UOM, I receive the aforementioned error. I am aware of the ShipmentTotalWeight container, which is typically used in some Rating API requests. Adding this container to my shipment creation request does not resolve the issue. Additionally, all US domestic services (including Mail Innovations) process without any problems, and labels are generated as expected.
I also attempted to use Request -> SubVersion without success. Request for Assistance:
Has anyone else encountered and resolved this issue? Any guidance on how to correctly specify the Unit of Measurement for WWE DDU in the latest API version would be greatly appreciated.
Thank you for your support and assistance.