Driver Delivery Status Updated
This event will be sent when Stream receives an update to a driver's delivery status. Full reference of driver delivery statuses can be found in the API documentation.
Example Delivery Status Types
Enroute to Pickup
{
"type": "driver.status_updated",
"location_id": "STREAM_LOCATION_1",
"reference_id": "PROVIDER_LOCATION_1",
"order": {
"id": "STREAM_ORDER_5678",
"dsp_order_id": "DSP_ORDER_ABC123",
"status": "out_for_delivery",
"delivery_status": "enroute_to_pickup"
}
}
Arrived at Dropoff
{
"type": "driver.status_updated",
"location_id": "STREAM_LOCATION_1",
"reference_id": "PROVIDER_LOCATION_1",
"order": {
"id": "STREAM_ORDER_5678",
"dsp_order_id": "DSP_ORDER_ABC123",
"status": "out_for_delivery",
"delivery_status": "arrived_at_dropoff"
}
}