booking_create
Submits a request for a booking or a request for an option.
This action re-prices and submits the request. booking_detail_mod is a
stateless preview: selections made there are not stored automatically.
Therefore selected_extras MUST repeat every extra the customer selected,
using the exact id_opt and quantity. Pass an empty list only when the
customer selected no optional extras. Never report an extra as selected
unless this tool's saved_extras verification confirms it.
Full client details (name, email, phone) are required to submit the request. **** strong rule: AI should not guess or input customer information on its own. It must ask customers to input it on its own.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pax | Yes | Number of passengers. | |
| mode | No | The type of creation, 'booking' or 'option' (defaults to 'booking'). | booking |
| dateEnd | Yes | The end date (DD/MM/YYYY). | |
| id_boat | Yes | The unique boat identifier. | |
| id_tbf1 | Yes | The TBF1 identifier for the booking. | |
| dateStart | Yes | The start date (DD/MM/YYYY). | |
| client_name | Yes | The client's full name. | |
| client_email | Yes | The client's valid email address. | |
| client_phone | Yes | The client's contact phone number. | |
| selected_extras | Yes | Required complete selection. Example: [{"id_opt": 123, "selected": true, "quantity": 1}]. Use [] only when no optional extra was selected. | |
| arrival_selected | No | ||
| currency_id_devise | No | ||
| departure_selected | No | ||
| arrival_port_pay_option | No | ||
| departure_port_pay_option | No |