vDrive Delivery Status
vGrubs calls youPOST
{your_base_url}/orders/deliveryvGrubs calls this endpoint to push real-time delivery status updates for orders fulfilled by vDrive - vGrubs' own delivery service. Implement this endpoint to track driver location, delivery progress, and courier details.
Request body
order_idstringrequired
Partner order ID - same value sent in the original order payload.
statusstringrequired
Current delivery status. Never null.
pendingNo driver assigned yet - waiting for assignment
assignedDriver has been assigned
startedDelivery started - driver heading to restaurant
picked_upDriver picked up order, heading to customer
arrivingDriver arriving at dropoff location
deliveredOrder delivered
cancelledDelivery cancelled
tracking_linkstring / null
Live tracking URL.
distance_milesnumber / null
Total delivery distance in miles.
cancellation_reasonstring / null
Reason for cancellation, if applicable.
pickup_etastring / null
Estimated driver arrival at restaurant (ISO 8601).
dropoff_etastring / null
Estimated delivery to customer (ISO 8601).
courierobjectrequired
Courier details.
driver_locationobject / null
Live driver coordinates. null until driver location becomes available.
timestampsobject
Delivery lifecycle timestamps.
Responses
200OK
successboolean
Whether the delivery update was received successfully.
400Bad Request
Missing or invalid fields in the request body.
401Unauthorized
Invalid or missing API key.