The API surfaces two functions that return a list of available services and packaging types for a carrier you specify.
Lookup Services Request
Specify a carrier, get a list of available shipping services.
http://<url>/shipmentservice.svc/shipment/lookup/services
<GetServiceTypesRequest>
<CarrierType>17</CarrierType>
</GetServiceTypesRequest>Lookup Services Response
<GetServiceTypesResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ServiceTypes>
<TUPSService>U01</TUPSService>
<TUPSService>U02</TUPSService>
<TUPSService>U05</TUPSService>
<TUPSService>U04</TUPSService>
<TUPSService>U03</TUPSService>
<TUPSService>U07</TUPSService>
<TUPSService>U08</TUPSService>
</ServiceTypes>
</GetServiceTypesResponse>Lookup PackagingType Request
http://<url>/shipmentservice.svc/shipment/lookup/packaging
Requires:
Carrier
Service Type (shipping service)
Some options (like USPS Regional Rate boxes and Letter packaging) will not always work. For example, the ultimate shipment may not be in a zone range that fits the Regional Rate box, or the shipment may be too heavy for FedEx/UPS/USPS Letter packaging.
The list of packaging options is the full list of what is possible for the carrier and service (as many packaging types are specific to a carrier or to a service). It is not a guarantee that the given packaging will work with the other shipping options.
<GetPackagingTypesRequest>
<CarrierType>17</CarrierType>
<ServiceType>U02</ServiceType>
</GetPackagingTypesRequest>Lookup PackagingType Response
<GetPackagingTypesResponse>
<PackagingTypes>
<TPackageType>02</TPackageType>
<TPackageType>U2</TPackageType>
<TPackageType>U6</TPackageType>
<TPackageType>U1</TPackageType>
<TPackageType>U8</TPackageType>
<TPackageType>U0</TPackageType>
<TPackageType>U7</TPackageType>
<TPackageType>UB</TPackageType>
<TPackageType>EWS1</TPackageType>
<TPackageType>EWS6</TPackageType>
<TPackageType>EWS7</TPackageType>
</PackagingTypes>
</GetPackagingTypesResponse>