Cancel My Lunch Order
cancel_my_lunch_orderCancel a finalized lunch order and get the charge refunded to your wallet when labels have not been sent. Requires confirmation before proceeding.
Instructions
Cancels a finalized order and refunds the charge to the wallet. Only works before order labels have been sent; after that the request is rejected and the order stands. DESTRUCTIVE - confirm with the user before cancelling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | ID of a finalized order - from list_my_lunch_orders; the order must still be finalized and not yet have labels sent |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Order ID | |
| status | No | Order status (cancelled) | |
| refundCents | No | Amount refunded to the wallet, in cents | |
| balanceCents | No | Wallet balance after the refund, in cents |