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.
Driver updates can be added into Stream so they can be distributed live to connected POS systems and DSPs.
This event is off by default. Turn on delivery.status_updated under Subscribed Events in the partner portal, and it is sent for every location connected to your integration.
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"
}
}