Skip to content

Commit 39cef4a

Browse files
authored
fix(usps): update API hosts to apis.usps.com / apis-tem.usps.com (#1118)
USPS retired the legacy Web Tools / api-cat hosts (Jan 25 2026). Update usps test host to apis-tem.usps.com and correct usps_international production host to apis.usps.com. Co-authored-by: zebradots <16127777+zebradots@users.noreply.github.com>
1 parent 9490bf6 commit 39cef4a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • modules/connectors
    • usps_international/karrio/providers/usps_international
    • usps/karrio/providers/usps

modules/connectors/usps/karrio/providers/usps/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def carrier_name(self):
2929

3030
@property
3131
def server_url(self):
32-
return "https://api-cat.usps.com" if self.test_mode else "https://apis.usps.com"
32+
return "https://apis-tem.usps.com" if self.test_mode else "https://apis.usps.com"
3333

3434
@property
3535
def tracking_url(self):

modules/connectors/usps_international/karrio/providers/usps_international/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def carrier_name(self):
2828

2929
@property
3030
def server_url(self):
31-
return "https://api-cat.usps.com" if self.test_mode else "https://api.usps.com"
31+
return "https://apis-tem.usps.com" if self.test_mode else "https://apis.usps.com"
3232

3333
@property
3434
def tracking_url(self):

0 commit comments

Comments
 (0)