Get order location

Gets the current location of the order's delivery rider along with their name and contact numbers, if available.

You can use this endpoint to render tracking maps for customers or an approximate progress bar based on travel distance remaining. If the location isn't available, the order may not have a delivery rider yet.
The best time to begin using this endpoint is after you've received a rider_assigned order status webhook callback. Riders can be subject to change after assignment, for this reason contact information should only
be passed to the customer after the order has been collected. If another rider is assigned a new rider_assigned status will be sent via webhook callback, use this endpoint to call for new rider contact information.

The location data does not update more than every minute, so it's unnecessary to poll more frequently. It will stop providing location data once any terminal order status is reached (delivered, undeliverable, canceled).

Language