API referenceRider
Update Location
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
lat*number
Range
-90 <= value <= 90lng*number
Range
-180 <= value <= 180accuracy?number
Range
0 <= value <= 100000at?integer
Range
0 <= value <= 9007199254740991Response Body
application/json
curl -X POST "https://example.com/rider/updateLocation" \ -H "Content-Type: application/json" \ -d '{ "lat": -90, "lng": -180 }'null