Overview
Shipment API
This API allows you to create and track shipments through the Ship Happens platform.
Authentication
All endpoints require a valid API key passed in the X-API-Key
header.
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