Shipment API
Route Planning
Endpoint
Get estimated delivery time
GET
https://api.sh.example.com/v1
/routes/{originFacilityId}/{destinationFacilityId}/{serviceLevel}/estimate
Get estimated delivery time between two facilities for a specific service level
path Parameters
originFacilityId
stringrequiredID of the origin facility
destinationFacilityId
stringrequiredID of the destination facility
serviceLevel
stringrequiredService level for the route
Responses
estimatedDeliveryTime
objectoptionaldistance
objectoptionalroute
objectoptional