Web Tools API is obsolete

Created on 28 August 2024, 4 months ago
Updated 29 August 2024, 4 months ago

Problem/Motivation

The USPS web tools API is technically still functioning but no longer guaranteed to continue to operate.

https://www.usps.com/business/web-tools-apis/welcome.htm

The deadline for migrating to the new USPS Label APIs was July 14, 2024. If you're still using Web Tools Label APIs, you risk service interruptions.

Proposed resolution

We need to create a new major version that supports the new OAuth API

Remaining tasks

Create a new development branch
Find an API library that supports the new API
Change shipping method definitions to use the new service class labels (instead of numbers)
Change authentication method to OAuth

API Details

The API provides the Shipping Options API for getting a list of possible services for an origin and destination zipcode
https://developer.usps.com/api/99
Use this to get a list of rates then map the ones that were enabled in the shipping method configuration.
This API doesn't seem to support international shipments...

Can use the International Prices API to get them but each service has to be requested separately
https://developer.usps.com/api/77

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rhovland Oregon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024