Skip to main content

Route Schema

Represents the shipping route for a trade shipment.

Fields

FieldTypeRequiredDescription
origin_countrystringYesISO 3166-1 alpha-2 country code
destination_countrystringYesISO 3166-1 alpha-2 country code
transport_modestringYessea, air, road, rail, or multimodal
incotermsstringYesIncoterms 2020 code
port_of_loadingstringNoUN/LOCODE (e.g., USLAX)
port_of_dischargestringNoUN/LOCODE (e.g., DEHAM)
vessel_namestringNoShip/aircraft name
voyage_numberstringNoVoyage or flight number
etdstringNoEstimated time of departure (YYYY-MM-DD)
etastringNoEstimated time of arrival (YYYY-MM-DD)

Incoterms 2020

CodeNameTransport
EXWEx WorksAny
FCAFree CarrierAny
CPTCarriage Paid ToAny
CIPCarriage and Insurance Paid ToAny
DAPDelivered at PlaceAny
DPUDelivered at Place UnloadedAny
DDPDelivered Duty PaidAny
FASFree Alongside ShipSea only
FOBFree on BoardSea only
CFRCost and FreightSea only
CIFCost, Insurance and FreightSea only

Validation Rules

  • FAS, FOB, CFR, CIF are only valid for sea/inland waterway transport
  • Port codes are validated against the UN/LOCODE database
  • Origin and destination countries must be different

Example

{
"origin_country": "US",
"destination_country": "DE",
"transport_mode": "sea",
"incoterms": "CIF",
"port_of_loading": "USLAX",
"port_of_discharge": "DEHAM",
"vessel_name": "MSC Ravenna",
"etd": "2026-04-15",
"eta": "2026-05-02"
}