API Reference

Delivery Request object

This is an object representing delivery requests.

Delivery requests

Delivery requests are simply a created intent to perform a delivery via the API. They must include the pickup and dropoff locations, as well as items to be delivered and information about them.


🚧

Cancelling a single delivery request will cancel all deliveries associated with it.


Delivery request object fields

FieldData typeDescriptionType
idstringunique id of delivery requestrequired
business_idstringreference to unique id of business making requestrequired
selected_quote_idstringreference to unique id of delivery quote that delivery was initiated withoptional
completedbooleanindicates if the delivery request has been completed or notrequired
statusenumtracks the different status that the delivery request may have based on its constituent deliveriesrequired
pickup_point_idstringreference to unique id of delivery point for pick uprequired
dropoff_point_idstringreference to unique id of delivery point for drop offrequired
expires_atdate timespecific date time when the delivery request will expire and will need to be refreshedrequired
deliveriesarraycollection of deliveries that will take place for the entire delivery request to be successfulrequired
quotesarraycollection of options you have to make the delivery based on variable costs and delivery durationsrequired
requires_id_verificationbooleanspecifies if an identification verification is required at the dropoff point (defaults to false)required
requires_dropoff_signaturebooleanspecifies if a receiver's signature is required at the dropoff point (defaults to false)required

Delivery quotes

For every delivery request made, delivery quotes are returned. These are simply the different costs and options you can use to make the delivery.


📘

At the moment, we only return a single quote after our algorithms have optimized the delivery for the lowest delivery fee.


Delivery quote object fields

FieldData typeDescription
idstringunique id of delivery quote
delivery_request_idstringreference to unique id of delivery request
delivery_durationintegerestimated length of time to complete delivery if initiated with this quote
feeintegercost of delivery
currencystringcurrency of fee