rider-at-producer

Type: object

Fired when a rider is in range(~50 meters) of a restaurant (or more generically a producer or pickup).


Example:

{
    "timestamp": "2022-09-22T16:20:09.004Z",
    "event": "rider_at_producer",
    "orderKey": "6287706d-5552-4373-a7ae-7f66136f365e",
    "externalId": "WENWJJQ-A6P3AN",
    "riderKey": "1a3b8e11d92bf926525fffe457c8a45e471be086",
    "jobKey": "wasdf",
    "coordinates": {
        "latitude": 40.8508109,
        "longitude": -73.9288919
    },
    "producer": {
        "producerKey": "relay",
        "producerLocationKey": "10b04c3f-e4fa-4c3b-b5f6-acac044444c3"
    }
}

Type: const
Specific value: "rider_at_producer"

Type: stringFormat: date-time

the time the rider crossed the restaurant's geofence.

Type: string

Type: string

Type: string

Type: string

Type: object

The position of the rider

Type: number

Type: number

Type: object

Type: string

Type: string

Type: object

Riders are sometimes reassigned to a different order after they have accepted a job. This object contains the original job information regardless of any reassignments. This may be useful to you if you are interested in some advanced reporting use cases.

Type: stringFormat: date-time

The actual time the rider accepted the job regardless of any order reassignment.

Type: stringFormat: date-time

The time the rider arrived at the restaurant regardless of any order reassignment.