/shipments-planner-fleets

Create a planner vehicle fleet.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length ≥ 1

Display name of the saved planner fleet.

string
required
length ≥ 1

Icon glyph shown for the fleet in the UI.

fleet
array
required
length ≥ 1

The vehicles the planner may use, each a real vehicle or a virtual (hypothetical) one, with per-vehicle planning restrictions. At least one is required.

fleet*
string
required

Internal Vehicle id (auto-generated UUID), opaque — humans identify a vehicle by its numberPlate, not by this id.

string
required

Internal id of the tenant that owns this vehicle.

string
required

Internal Carrier id (UUID) of the carrier that owns this vehicle.

string
enum
required

Directory status controlling whether the vehicle is available for assignment.

Allowed:
string

The manufacturer of the vehicle.

string

The model of the vehicle.

string
string
length between 3 and 3
^[A-Z]{3}$

The country code of the number plate (ISO Alpha-3)

string

Vehicle Identification Number

string
required
length ≥ 1

Reference to a VehicleClass by its id — a caller-chosen readable slug like "RIGID_75", not a UUID. Sets the capacity/dimension template this vehicle belongs to.

extras
array of strings
required

Vehicle capability flags this vehicle provides (e.g. Liftgate, Refrigerated), matched against a shipment's required extras to gate feasibility.

extras*
number
≥ 0

Internal cargo-container width in CENTIMETERS (not the outer vehicle width, which is in meters). Used by 3D load planning to place loads across the container.

number
≥ 0

Internal cargo-container length in CENTIMETERS. Drives loading-metre (LDM) utilization and load placement in the primary loading direction.

number
≥ 0

Internal cargo-container height in CENTIMETERS. Constrains load stacking height in 3D load planning.

≥ 0

Outer vehicle width in METERS (note: metres, unlike the centimetre container dimensions). Used for routing/access constraints.

≥ 0

Outer vehicle length in meters (see outerWidth).

≥ 0

Outer vehicle height in meters (see outerWidth).

number
required
≥ 0

Maximum cargo weight the container can carry, in kilograms. Enforced by 3D load planning against the combined load weight.

number
required
≥ 0

Maximum gross vehicle weight in kilograms (cargo plus the vehicle itself).

string

Operator-only free-text note about the vehicle.

number
required

Creation timestamp in epoch SECONDS (Europe/Berlin).

number

Last-update timestamp in epoch MILLISECONDS (milliseconds, unlike createdAt which is seconds).

properties
object | null

Key-value pairs in the dictionary have property IDs as keys. Property keys and their values appear only when the property value is explicitly set. All property values are validated against their definitions - requests with unknown property IDs or invalid value types will be rejected with a 400 error.

accessDirection
array of strings

Sides from which the cargo container can be loaded and unloaded.

accessDirection
Allowed:
string
enum

The type of fuel used by the vehicle.

string
enum

The emission standard of the vehicle.

Allowed:
string
enum

The emission class of the vehicle.

Allowed:
1 to 9007199254740991

The number of axles on the vehicle.

start
object

Address the vehicle starts its tour from. Defaults to the depot/data when omitted.

end
object

Address the vehicle must return to at the end of its tour. Defaults to the start when omitted.

number
≥ 0

Maximum total driving distance for one tour on this vehicle, in METERS (e.g. 300000 for 300 km).

number
≥ 0

Maximum total tour duration for this vehicle, in MINUTES (e.g. 480 for an 8-hour shift), covering driving, service, and waiting.

number
≥ 0

Maximum number of load units this vehicle may carry per tour.

number
≥ 0

Maximum number of stops (pickups plus dropoffs) on one tour for this vehicle.

schedule
object

Weekly availability windows during which this vehicle can be routed.

number
≥ 0

Relative cost weight applied each time this vehicle is used (not a currency amount); raise to make the planner prefer fewer vehicles.

number
≥ 0

Multiplier on estimated driving speed for this vehicle: below 1.0 assumes slower travel (e.g. 0.8 = 20% slower), above 1.0 faster.

Responses

400

Invalid request body

401

Unauthorized

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json