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
string · requiredID of the origin facility
destinationFacilityId
string · requiredID of the destination facility
serviceLevel
string · enum · requiredService level for the route
Enum values:ECONOMYSTANDARDEXPRESSSAME_DAY
Responses
estimatedDeliveryTime
objectdistance
objectroute
object