Create Quote
https://sandbox-api.gozem.co/courier/v1/quotesCreate a delivery trip quote.
Body parameters
Delivery stops, at least one. Serviced in the order given unless `optimize_route` is set.
Contact name
Contact phone number
Dropoff location name
Dropoff latitude
Dropoff longitude
Note for the dropoff location
If true, dropoffs will be reordered to optimize route
Where the package is collected
Contact name
Contact phone number
Pickup location name
Pickup latitude
Pickup longitude
Note for the pickup location
Title of the trip
Unique ID or name of the selected vehicle/service type
Response 200
The quote and its estimated fare
Quote creation timestamp
Delivery stops, in the order they will be serviced
Contact name
Contact phone number
Dropoff location name
Dropoff latitude
Dropoff longitude
Note for the dropoff location
Total distance (km) of the trip
Total estimated duration (minutes)
Fare the trip is expected to cost. Not a charge until the quote is booked.
Total estimated fare amount
Fare components, adding up to `amount`
Component amount
Fare component label
Extra detail about the component
Currency code
When the quote stops being bookable
Unique quote identifier
Where the package is collected
Contact name
Contact phone number
Pickup location name
Pickup latitude
Pickup longitude
Note for the pickup location
Title of the trip
Human-readable outcome. Defaults to `Ok`.
Always `true` on a success response.
Errors
Every failure returns the same envelope. Branch on code — it is the stable contract; message is human-facing and may be reworded or localized. See the error reference for what each code means.