Skip to main content
Routes connect two locations and describe how goods travel between them. A route consists of one or more legs, each with a transport mode and distance.

Look up transport methods

Each leg requires a transport method publicId (trn_ prefix). Fetch the available methods from GET /v1/logistics/methods and save the ones you need. The available methods are:
ModeMethods
RoadLorry >32t (standard), Lorry 28–32t, Lorry 20–26t, Lorry 14–20t, Lorry 12–14t, Lorry 7.5–12t, Lorry <7.5t, Van, Passenger car
SeaContainer ship (heavy fuel), Container ship (Eco-fuel), Ferry, Barge
RailTrain – unknown, Train – diesel, Train – electric
AirCargo plane

Create a route

Call POST /v1/logistics/routes with two location publicIds (trl_ prefix) from the locations step.

Route legs

Each route requires at least one leg in transportRouteLegs. For multi-leg routes, add additional objects with incrementing order values. type determines which leg fields are relevant:
TypeFields
ContainerFullLoadmethod, distance, isCargoLoadedOnPallets, note
FreightPartialLoadmethod, distance, isCargoLoadedOnPallets, note
DirectTripmethod, distance, emptyReturnFactor, isCargoLoadedOnPallets, note
emptyReturnFactor only applies to DirectTrip.

Next

Create a Screening →