listTransportationOptions
Retrieves all transportation options for a shipment. Transportation options must first be generated by the generateTransportationOptions operation before becoming available.
Path parameters
Identifier of an inbound plan.
Query parameters
The number of transportation options to return in the response matching the given query.
A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the pagination returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
The placement option to get transportation options for. Either placementOptionId or shipmentId must be specified.
The shipment to get transportation options for. Either placementOptionId or shipmentId must be specified.
Response
ListTransportationOptions 200 response
Example response
{
"transportationOptions": [
{
"carrier": {
"alphaCode": "ABCD",
"name": "Carrier Name"
},
"carrierAppointment": {
"endTime": "2024-01-06T14:48:00.000Z",
"startTime": "2024-01-05T14:48:00.000Z"
},
"preconditions": [
"CONFIRMED_DELIVERY_WINDOW"
],
"quote": {
"cost": {
"amount": 5.5,
"code": "CAD"
},
"expiration": "2024-01-06T14:48:00.000Z",
"voidableUntil": "2024-01-05T14:48:00.000Z"
},
"shipmentId": "sh1234abcd-1234-abcd-5678-1234abcd5678",
"shippingMode": "GROUND_SMALL_PARCEL",
"shippingSolution": "AMAZON_PARTNERED_CARRIER",
"transportationOptionId": "to1234abcd-1234-abcd-5678-1234abcd5678"
}
]
}