Trialmile docs

Update Location

POST
/rider/updateLocation

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

lat*number
Range-90 <= value <= 90
lng*number
Range-180 <= value <= 180
accuracy?number
Range0 <= value <= 100000
at?integer
Range0 <= value <= 9007199254740991

Response Body

application/json

curl -X POST "https://example.com/rider/updateLocation" \  -H "Content-Type: application/json" \  -d '{    "lat": -90,    "lng": -180  }'
null