Shipment API
Rates & Billing
Endpoints related to calculating shipping rates, billing, and insurance.
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