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.

SecuritybearerAuth
Request
query Parameters
carrier
string

The carrierID, a unique identifier given to an individual carrier.

originCountryCode
string

The Source Country. The two-character ISO country code for the country where the Shipment originates.

header Parameters
X-PB-Developer-Partner-Id
string

This is the Developer Partner ID. When the developer is the only partner, this field is not required.

Responses
200

A list of Countries has been fetched.

400

Invalid request.

401

The request could not be authorized.

500

The request could not be completed due to an internal error.

get/api/v1/countries
Request samples
Response samples
application/json
{
  • "countries": [
    ]
}