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
Update customs documentation
PUT
https://api.sh.example.com/v1
/shipments/{shipmentId}/customs
Update or add customs documentation for international shipments
path Parameters
shipmentIdstringrequired
Request Body
itemsobject[]
purposestringoptionalincotermstringoptional
Responses
idstringoptionalstatusstringoptionalcustomsValuenumberoptionalcurrencystringoptionaldocumentsobject[]optional
Pay import duties
POST
https://api.sh.example.com/v1
/shipments/{shipmentId}/customs/duties
Pay import duties and taxes for an international shipment
path Parameters
shipmentIdstringrequired
Request Body
paymentMethodstring
paymentDetailsobjectoptional
Responses
amountnumberoptionalcurrencystringoptionalreceiptstringoptional