Skip to navigation

Get a Quote

View as Markdown

Retrieve prices for a delivery without placing an order. Most of the details used retrieve a quote can be used to place a delivery, but placing a delivery may require more details.

This endpoint will respond with a list of price objects keyed by the vehicle name.

By Vehicles or by Items Delivered

If the vehicle types desired for quotation are known, you should provide them in the vehicles item of the request data. Without vehicles, delivery item data to be provided in the request data. Item data must be provided for every order location except for the pickup (first) location.

Authentication

AuthorizationBearer

Request

This endpoint expects an object.
fulfilment_datedateRequired

The date on which the order should be fulfilled. Expects date in format ‘Y-m-d’.

vehicleslist of enumsOptional

A list of vehicle types you’d like to retrieve quotes for. This is required if items items have not been provided in the order locations.

Use either All or * to select all vehicles. All and * may only be passed alone. Passing either in the vehicles array with other values in the array will result in a validation error.

co_loadingbooleanOptional

Whether or not the delivery driver is allowed to load items from other deliveries on their vehicle alongside yours. Defaults to false if not provided.

two_man_deliverybooleanOptional

Whether or not the delivery driver is required to have an additional person with them to fulfil the order. Defaults to false if not provided.

order_locationslist of objectsOptional

Response

uuidstringOptionalformat: "uuid"
The quote ID.
vehicleslist of objectsOptional
An list of quote objects. Each object will contain a quote for every vehicle that was outlined in the request.
extra_tripsobject or nullOptional

This will be an object when the order type is delivery, null otherwise.

remoteboolean or nullOptional

This will be true if any of the locations fall in a postal code that has been flagged as remote and otherwise difficult to reach.

Errors

422
Unprocessable Entity Error