Shipping APIs
//
Get Countries
The operation fetches list of supported destination countries for a provided carrier and origin country. If query parameters are not provided, it will default to USPS as carrier and US as origin country.
Security
bearerAuth
- Sandbox Serverhttps://api-sandbox.sendpro360.pitneybowes.com/shipping/api/v1/countries
- Production Server (uses live data)https://api.sendpro360.pitneybowes.com/shipping/api/v1/countries
- Sandbox Server for Canadahttps://api-ppd.shipping360.pitneybowes.com/ca/shipping/api/v1/countries
- Production Server for Canadahttps://api.shipping360.pitneybowes.com/ca/shipping/api/v1/countries
curl -i -X GET \
'https://api-sandbox.sendpro360.pitneybowes.com/shipping/api/v1/countries?carrier=string&originCountryCode=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'X-PB-Developer-Partner-Id: string'Response
{ "countries": [ { "countryCode": "CA", "countryName": "Canada" } ] }