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.
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.