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:

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: emptyReturnFactor only applies to DirectTrip.

Next

Create a Screening →