Shipment API
International Shipping
Operations for managing customs documentation, duties, and international shipment processes.
Endpoint
Update customs documentation
PUT
https://api.sh.example.com/v1
/shipments/{shipmentId}/customs
Update or add customs documentation for international shipments
path Parameters
shipmentId
stringrequired
Headers
X-Correlation-ID
stringUnique identifier for tracking requests across multiple services
Idempotency-Key
stringUnique key to ensure idempotency of the request
X-Customs-Region
stringCustoms processing region for the shipment
Request Body
items
object[]
purpose
stringoptionalincoterm
stringoptional
Responses
id
stringoptionalstatus
stringoptionalcustomsValue
numberoptionalcurrency
stringoptionaldocuments
object[]optional
Pay import duties
POST
https://api.sh.example.com/v1
/shipments/{shipmentId}/customs/duties