Trialmile docs

Assign

POST
/orders/assign

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

id*string
Length1 <= length
riderId*string
Length1 <= length

Response Body

application/json

curl -X POST "https://example.com/orders/assign" \  -H "Content-Type: application/json" \  -d '{    "id": "string",    "riderId": "string"  }'
null