Place order
zoodex_place_orderPlace the current cart order after previewing the final summary and getting explicit confirmation; supports courier/pickup and online, cash, or wallet payment.
Instructions
Place the order for the current cart. ALWAYS show the user the final summary and get explicit confirmation first: call with confirm=false to get a preview, then call again with confirm=true. For online payment the result contains bank_url, which the user must open to pay; afterwards call zoodex_payment_status. Requires a name on the account and, for courier delivery, a selected address.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "zoodex_place_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | false = preview only. true = actually place the order. | |
| delivery | No | courier | |
| address_id | No | Delivery address; defaults to the selected one. Ignored for pickup. | |
| offer_code | No | Discount code. | |
| use_wallet | No | Use Zoodex wallet balance towards the payment (online/cash only). | |
| payment_type | No | 'online', 'cash', or a wallet key from zoodex_checkout_options.payment_methods. | online |
| vendor_credits | No | Vendor slugs whose store credit should be used. |