create_reservation
Create a table reservation by entering guest name, email, date, start and end times, and total guests. The booking price is automatically calculated.
Instructions
Create a new table reservation. Requires guest name, email, date, start_time, end_time, and total_guest. The booking price is calculated server-side.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Reservation date (YYYY-MM-DD or site date format) | |
| name | Yes | Guest full name | |
| Yes | Guest email address | ||
| notes | No | Special requests or notes | |
| phone | No | Guest phone number | |
| status | No | Initial status (defaults to site setting) | |
| end_time | Yes | End time (e.g. '09:00 PM' matching site time format) | |
| branch_id | No | Location/branch ID | |
| start_time | Yes | Start time (e.g. '07:00 PM' matching site time format) | |
| table_name | No | Table identifier or seat number | |
| branch_name | No | Location/branch name | |
| total_guest | Yes | Number of guests | |
| payment_method | No | Payment method: wc (WooCommerce) or local (pay at venue) |