We're announcing ๐Ÿง‘โ€๐Ÿš€ inter-galactic shipping โœจ for 3025!
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

โ€‹Update customs documentation โ€บ path Parameters

  • shipmentIdstringย ยทย uuidย ยทย required

โ€‹Update customs documentation โ€บ Headers

  • X-Correlation-IDstringย ยทย uuid

    Unique identifier for tracking requests across multiple services

  • Idempotency-Keystringย ยทย uuid

    Unique key to ensure idempotency of the request

  • X-Customs-Regionstringย ยทย enum

    Customs processing region for the shipment

    Enum values:
    EU
    NA
    APAC

โ€‹Update customs documentation โ€บ Request Body

  • itemsobject[]ย ยทย required
  • purposestringย ยทย enum
    Enum values:
    COMMERCIAL
    PERSONAL
    GIFT
    RETURN
    REPAIR
  • incotermstringย ยทย enum
    Enum values:
    DAP
    DDP
    FCA
    EXW

โ€‹Update customs documentation โ€บ Responses

    • idstringย ยทย uuid
    • statusstringย ยทย enum
      Enum values:
      PENDING
      APPROVED
      REJECTED
    • customsValuenumberย ยทย float
    • currencystring
    • documentsobject[]

โ€‹Pay import duties

POST
https://api.sh.example.com/v1
/shipments/{shipmentId}/customs/duties

Pay import duties and taxes for an international shipment

โ€‹Pay import duties โ€บ path Parameters

  • shipmentIdstringย ยทย uuidย ยทย required

โ€‹Pay import duties โ€บ Request Body

  • paymentMethodstringย ยทย enumย ยทย required
    Enum values:
    CREDIT_CARD
    BANK_TRANSFER
    ACCOUNT_BALANCE
  • paymentDetailsobject

โ€‹Pay import duties โ€บ Responses

    • amountnumberย ยทย float
    • currencystring
    • receiptstringย ยทย uri