API referenceOrders
Assign
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
id*string
Length
1 <= lengthriderId*string
Length
1 <= lengthResponse Body
application/json
curl -X POST "https://example.com/orders/assign" \ -H "Content-Type: application/json" \ -d '{ "id": "string", "riderId": "string" }'null