Trialmile docs

Set Order Status

POST
/rider/setOrderStatus

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

orderId*string
Length1 <= length
status*string

Value in

  • "picked_up"
  • "nearby"
  • "arrived"
  • "delivered"
  • "left_at_door"
  • "cant_access"
accessNotes?string
Lengthlength <= 500

Response Body

application/json

curl -X POST "https://example.com/rider/setOrderStatus" \  -H "Content-Type: application/json" \  -d '{    "orderId": "string",    "status": "picked_up"  }'
null