API referenceOrders
Set Location
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
id*string
Length
1 <= lengthlat*number
Range
-90 <= value <= 90lng*number
Range
-180 <= value <= 180Response Body
application/json
curl -X POST "https://example.com/orders/setLocation" \ -H "Content-Type: application/json" \ -d '{ "id": "string", "lat": -90, "lng": -180 }'null