The Driver Location Updated callback occurs when Bringg receives a location update for a driver.
Webhook
Below are the parameters included in the driver_location_updated
webhook.
{
"user_id": 13698624,
"user_external_id": "13606790",
"happened_at": 17146518449,
"lat": 30.3657807,
"lng": -97.7373743,
"battery": 95,
"accuracy": null,
"started_tasks": [
{
"task_id": 374163410,
"external_id": "177608872"
}
],
"webhook_type": "driver_location_updated",
"merchant_id": 11111
}
Output Params
The driver_location_updated
webhook includes the location_history
object: