Skip to main content

Update Driver Location

This event can be sent to provide real-time driver location updates for an order. This allows locations to track the driver's position during delivery.

API Reference

NOTE: This event should be sent after you have assigned a driver to an order.

{
"type": "order.update.driver.location",
"object": {
"location_id": "location_id", // The location_id from the order event you received
"order_id": "order_id", // The order_id from the order event you received
"location": {
"lat": 37.7749, // Latitude of the driver location
"long": -122.4194 // Longitude of the driver location
}
}
}