Get Services

The operation fetches a list of supported services for a carrier with respect to specific origin and destination country. If query parameters are not provided, this will default to USPS as carrier, US as both origin and destination country code.

SecuritybearerAuth
Request
query Parameters
carrier
string

The CarrierID, a unique identifier provided to an individual carrier. It can be referred from the response of Get Carriers API

originCountryCode
string

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

destinationCountryCode
string

The Destination Country for the Shipment. The two-character ISO country code for the country where the shipment is to be delivered.

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 services 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/services
Request samples
Response samples
application/json
{
  • "services": [
    ]
}