Who Does This Apply To
This information only applies to Spirit Sale stores still using the older USPS Web Tools (Legacy) API for live shipping rates.
You do NOT need to follow this guide if:
- You don't use USPS for shipping.
- You already migrated to the new USPS OAuth 2.0 API, or
- Your USPS Developer account was created after USPS adopted their new API, and
- Your USPS settings already show:
- Use USPS Legacy Server = OFF, and
- Your USPS Consumer Key and USPS Consumer Secret are entered and
- USPS shipping options and rates are presented at checkout.
How to quickly check your USPS setup in Spirit Sale
Log into your Spirit Sale Dashboard
Go to Settings → Shipping Setup → USPS
Look for the Use USPS Legacy Server toggle
Check if your Consumer Key and Consumer Secret fields are filled
If the Legacy toggle is OFF and credentials are present, no action is required.
You are already connected to the new USPS API.
Overview
USPS is retiring their older Web Tools API, which many Spirit Sale stores still use to load live shipping rates during checkout. USPS has already begun limiting parts of the Web Tools system, and merchants using the old API may notice:
To ensure uninterrupted shipping rates, USPS now requires merchants to migrate to the new USPS APIs (OAuth 2.0).
Spirit Sale fully supports the new system, but each merchant must update their own USPS credentials through the USPS Developer Portal.
This article explains the full migration process.
Support Responsibilities (Important)
USPS is responsible for all API credential and migration issues
USPS controls:
The USPS Developer Portal
- Consumer Key and Consumer Secret generation
- API activation and permissions
- Credential validation and errors
- Migration from Web Tools to the new USPS APIs
Because of this, only USPS can resolve issues with credentials, including invalid API keys, missing permissions, or portal errors.
Contact USPS API Technical Support at:
This is the correct contact for all authentication, migration, and credential issues.
We are happy to help with:
- Locating USPS settings inside Spirit Sale
- Ensuring your credential fields and toggle settings are correct
- Interpreting Spirit Sale error messages
- Diagnosing issues on the Spirit Sale side (e.g., UI, saving settings, API request handling)
However, Spirit Sale cannot fix, retrieve, reset, or validate your USPS credentials, and USPS will not allow us to act on your behalf.
Security Reminder
Do not send your USPS password, Consumer Key, or Consumer Secret to Spirit Sale Support.
Before You Begin: Important Notes
1. Spirit Sale Support cannot access your USPS credentials
For security reasons, do not send your USPS password, Consumer Key, or Consumer Secret to Spirit Sale Support.
You will enter these directly into your dashboard.
2. USPS migration is required
USPS controls this transition and requires merchants to update their own API access.
3. Ensure you have access to the USPS Developer Portal and have your USPS Developer account ready.
You will need access to your USPS Developer Account.
4. If your Spirit Sale store suddenly loses USPS rates…
It is likely due to USPS limiting parts of the Web Tools system. Migrating to the new API typically resolves this immediately.
Part 1 - Obtain Your New USPS API Credentials
To use the new USPS rating system, you must retrieve your USPS Consumer Key and USPS Consumer Secret.
Steps
Visit the USPS Developer Portal
(Search: “USPS APIs Developer Portal” in your browser.)
Sign in or create a USPS Developer account.
Create a new Application within the portal.
Locate your:
Consumer Key
Consumer Secret
Copy both values for use in Spirit Sale.
Need Help Retrieving Your USPS Credentials?
If you encounter difficulty accessing or locating your USPS Consumer Key or Secret, contact:
Suggested message:
“I am migrating from the USPS Web Tools API to the new USPS APIs (OAuth 2.0). I need assistance retrieving or generating my Consumer Key (Client ID) and Consumer Secret.”
USPS generally responds within 1–2 business days.
Part 2 - Update Your USPS Credentials Inside Spirit Sale
Once you have your new USPS credentials, follow the steps below to update your store:
Steps
Log into your Spirit Sale Dashboard.
Navigate to:
Settings → Shipping Setup → USPS
Toggle ON the option:
“Use OAUTH2 Integration.”
Toggle OFF the option:
“Use USPS Legacy Server.”
This enables Spirit Sale’s new USPS API connection.
Enter your:
USPS Consumer Key
USPS Consumer Secret
Click the green “Update” button to save your changes.
Your new USPS settings will not take effect until this button is pressed.
What You Should See When You Click Update
Spirit Sale provides an immediate on-screen confirmation to let you know whether your USPS credentials were accepted:
If credentials are correct:
A message will appear in the bottom-right corner of the screen:
“Success: Carrier shipping configuration updated.”
If credentials are incorrect or USPS rejects them:
A warning box will appear at the top of the screen stating:
“Your credentials have been updated, but the carrier informs they are not valid. Please check them.”
If you see this warning, confirm your credentials and contact USPS if needed.
Part 3 - Verify Your USPS Rates Are Working
After updating your credentials:
Go to your storefront.
Add an item to the cart.
Proceed to checkout and enter a valid U.S. shipping address.
You should now see USPS options such as:
If these appear correctly, your migration is complete.
Troubleshooting
If USPS rates do not appear:
1. Check your Spirit Sale settings
Ensure Use USPS Legacy Server is turned OFF.
Confirm you clicked the green Update button.
Look for the Success or Warning message.
2. Verify your USPS credentials
Make sure:
3. Contact USPS API Support
If USPS continues rejecting your credentials, email:
Ask them to verify your application and API access.
Frequently Asked Questions (FAQ)
Do I need to migrate now?
Yes. USPS is phasing out Web Tools, and rate disruptions will increase until full retirement.
Can Spirit Sale migrate my USPS account?
No. USPS requires each merchant to manage credentials privately and directly.
What if I do not migrate?
USPS rates may stop working. You may temporarily use flat-rate or other carriers, but USPS live rates require the new API.