This webhook is used to let you know that there's an update on rider status. In order to receive these events, you need to have a configured Rider Events webhook. If we receive an error in the response then we'll try to retry the callback up to 10 minutes. Usually a regular rider status lifecycle is rider_assigned => rider_arrived (at the restaurant).
The following are all the valid values for a rider status.
Rider was assigned to the order.
Rider nearby to the site.
Rider arrival at the site confirmed on rider's app.
Rider was unassigned from the order.
Keep in mind that while every attempt is made to make callbacks in the order they occurred and in a timely manner, neither can be absolutely guaranteed. It is also possible to receive the same callback more than once. The status log should be treated as the source of truth when it comes to the order of the statuses.