Trialmile docs

Create

POST
/orders/create

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

conversationId*string
Length1 <= length
productId*string
Length1 <= length
lat*number
Range-90 <= value <= 90
lng*number
Range-180 <= value <= 180
zoneId?|null
notes?string
Lengthlength <= 2000

Response Body

application/json

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