Act
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
riderId*string
Length
1 <= lengthaction*string
Value in
- "picked_up"
- "delivered"
- "restock"
orderId?string
Length
1 <= lengthproductId?string
Length
1 <= lengthamount?unknown|unknown|unknown
Response Body
application/json
curl -X POST "https://example.com/dev/riders/act" \ -H "Content-Type: application/json" \ -d '{ "riderId": "string", "action": "picked_up" }'null