Place order
foran_place_orderPlaces a delivery order by checking out the current cart to a saved address, showing the order summary first, then confirming after customer approval with cash-on-delivery or wallet payment.
Instructions
Check out the current cart to a saved address. First call WITHOUT confirm to get the order summary and show it to the customer. Only after the customer clearly says yes, call again with confirm=true to place the real order. Payment: cash_on_delivery or wallet (Foran Money). Orders placed here carry the MCP fee (Rs 150) instead of the app's processing fee; always show it in the summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Note for the store / rider. | |
| module | No | mart = groceries and daily needs; bites = restaurant food. | mart |
| confirm | No | true ONLY after the customer approved the summary. | |
| address_id | Yes | From foran_my_addresses. | |
| coupon_code | No | e.g. FORANDELIVERY for a new customer's first order. | |
| session_key | Yes | The session_key returned by foran_login. | |
| rider_tip_rs | No | ||
| payment_method | No | cash_on_delivery |