Trialmile docs

Set Location

POST
/orders/setLocation

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

id*string
Length1 <= length
lat*number
Range-90 <= value <= 90
lng*number
Range-180 <= value <= 180

Response Body

application/json

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