Change driver
lalamove_change_driverWRITE: ask Lalamove to replace the driver of an order (no extra fee). Allowed 15 minutes after the driver was matched and before pickup; the order goes back to ASSIGNING_DRIVER and a new driver is looked for. Needs the current driver id from lalamove_get_order. DELETE /v3/orders/{orderId}/drivers/{driverId}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why the driver is changed. | |
| confirm | Yes | Must be true. Set it only after the user has explicitly confirmed this action. | |
| order_id | Yes | Lalamove order id (the orderId of an order, e.g. 107900701184 or a 19-digit id). | |
| driver_id | Yes | Lalamove driver id (the driverId of the order once a driver accepted it). |