Place delivery order (charges the wallet)
lalamove_place_orderWRITE, SPENDS MONEY: order a delivery from a quotation. In production the total price is charged to the prepaid Lalamove wallet and a driver is dispatched; cancellation is only free within Lalamove's policy. Only call it after the user has seen the quotation price and said yes. confirm_total must equal the quotation total (it is checked against Lalamove, and an expired quotation is refused). The recipients are given in stop order and matched to the quotation's drop-off stops by the tool. The order is placed once: do not retry after an error without checking lalamove_get_order. POST /v3/orders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | Yes | Contact at the pickup stop. | |
| confirm | Yes | Must be true. Set it only after the user has explicitly confirmed this action. | |
| metadata | No | Your own reference key/value pairs stored on the order (e.g. your order number). | |
| recipients | Yes | One contact per drop-off stop, in the same order as the quotation's stops after the pickup. | |
| quotation_id | Yes | Lalamove quotation id (quotationId from lalamove_create_quotation). | |
| confirm_total | Yes | The total price the user approved, exactly as in the quotation priceBreakdown.total (e.g. "124"). | |
| proof_of_delivery | No | Ask the driver for a photo or signature at each stop. |