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
stringย ยทย uuidย ยทย required
โ Headers
X-Correlation-ID
stringย ยทย uuidUnique identifier for tracking requests across multiple services
Idempotency-Key
stringย ยทย uuidUnique key to ensure idempotency of the request
X-Customs-Region
stringย ยทย enumCustoms processing region for the shipment
Enum values:EUNAAPAC
โ Request Body
items
object[]ย ยทย required
purpose
stringย ยทย enumEnum values:COMMERCIALPERSONALGIFTRETURNREPAIRincoterm
stringย ยทย enumEnum values:DAPDDPFCAEXW
โ Responses
id
stringย ยทย uuidstatus
stringย ยทย enumEnum values:PENDINGAPPROVEDREJECTEDcustomsValue
numberย ยทย floatcurrency
stringdocuments
object[]
โ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
shipmentId
stringย ยทย uuidย ยทย required
โ Request Body
paymentMethod
stringย ยทย enumย ยทย requiredEnum values:CREDIT_CARDBANK_TRANSFERACCOUNT_BALANCE
paymentDetails
object
โ Responses
amount
numberย ยทย floatcurrency
stringreceipt
stringย ยทย uri