We're announcing 🧑‍🚀 inter-galactic shipping ✨ for 3025!
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
    string
    required

    ID of the origin facility

  • destinationFacilityId
    string
    required

    ID of the destination facility

  • serviceLevel
    string
    required

    Service level for the route

Responses

    • estimatedDeliveryTime
      object
      optional
    • distance
      object
      optional
    • route
      object
      optional