vDrive
vDrive API Docs
vgrubs.com

Cancellation fee

GET/deliveries/{id}/cancellation-fee

What you would pay if you cancelled the delivery now. Nothing until a driver accepts it; after that, the fleet price.

Some fleets charge less than their price for a cancellation. You are then charged their actual amount, once the delivery settles.

Path parameters

idintegerrequired

Our delivery id.

Response

200OK
cancellationFeeinteger

Cents. 0 until a driver accepts the delivery, then the fleet price.

isDriverAssignedboolean

Whether a driver accepted the delivery.

Errors

400
Delivery is already finished.The delivery is already completed or cancelled.
401
Invalid API key.The key is missing, wrong or turned off.
404
Delivery not found.No such delivery, or it belongs to another account.