Driver events
Once the driver shift starts the ride hailer should (optionally) send driver events to the Mileus ingestion engine. Periodically getting the location of the driver and their unique ID, Mileus will be able to match the driver with a potential order.
The detailed documentation of the driver events endpoint is available in the API specification.
Field | Type | Required | Description |
---|---|---|---|
orderId | string | No | If driver is fulfilling an order / ride, orderId should be provided |
driverLocation | Coordinates | Yes | Current driver location object with valid lat and lon values |
driverId | string | Yes | Driver ID as in the partners system |