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
Calculate shipping rates
POST
https://api.sh.example.com/v1
/shipments/{shipmentId}/rates
Calculate available shipping rates for a shipment based on service level, destination, and package details
path Parameters
shipmentId
stringrequired
Request Body
serviceLevel
string
insurance
objectoptional
Responses
baseRate
numberoptionalfees
object[]optionaltotalRate
numberoptionalcurrency
stringoptionaltransitTime
objectoptional