Cancel order
lalamove_cancel_orderWRITE, DESTRUCTIVE: cancel a delivery order. Lalamove only allows it while the order is ASSIGNING_DRIVER, or less than 5 minutes after a driver accepted it; otherwise it answers ERR_CANCELLATION_FORBIDDEN. A cancelled order cannot be revived, only re-placed from a new quotation. DELETE /v3/orders/{orderId}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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). |