A delivery can be created from a previously calculated quote or directly from a complete route.
Quote a route
Send the following to POST /partner/v1/quotes:
pickupanddropoffwithaddress,latitude, andlongitude.- A
vehicle_type_idreturned byGET /partner/v1/vehicle-types. - Optionally, up to ten
stopsin the order they should be visited. - Optional
extraswithextra_id,option_id, andquantity.
The response contains a quote_id, price, distance, duration, and valid_until. A quote is valid for five minutes.
Create the delivery
Send either a valid quote_id or the complete route to POST /partner/v1/deliveries. Do not send both.
A contact with name and phone is also required; email is optional. The API also accepts:
external_idas your own unique reference.notesfor operational instructions.scheduled_atas an RFC 3339 timestamp.test_scenarioset tocourier_cancelledordelivery_failedwhen using a test key.
Every create request requires a unique Idempotency-Key header.
Describe the items
Both POST /partner/v1/quotes and POST /partner/v1/deliveries accept an optional items array with one to one hundred lines. Each line describes identical units:
quantity,weight_kgper unit, and the outerlength_cm,width_cm, andheight_cmper unit are required.sku,customer_reference,barcode,gtin,sscc, andsource_line_idare optional identifiers. They are kept on the delivery, printed on package labels, and scanned by the courier.fragile,keep_upright, andstackabledescribe handling. Fragile units are never stacked; omitstackablewhen you do not know.
vehicle_type_id remains required. Maxmove checks that the selected vehicle can carry all lines. If it cannot, the request fails with HTTP 400 and the error code vehicle_does_not_fit; choose a larger vehicle from GET /partner/v1/vehicle-types and retry. Invalid line data returns invalid_items.
Send items on the quote as well as on the delivery so the price already reflects the vehicle you will create the delivery with.
Multi-stop rules
- Do not repeat
pickupordropoffinsidestops. - Send intermediate stops in the actual driving order.
- A route can contain at most ten intermediate stops.
- Always send addresses together with valid coordinates.
The API preserves the submitted order for dispatch, tracking, and ETA calculation.