Book a home cleaning (customer confirms by payment link)
create_bookingCreates a home-cleaning booking for the price, date and arrival window the customer agreed to, and returns a secure Stripe payment_url. The booking is confirmed when the customer opens payment_url and saves a card (charged after the cleaning). The link is also emailed to the customer. Requires customer_confirmed = true.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | YYYY-MM-DD (today adds a same-day surcharge) | |
| notes | No | Access, pets, priorities... | |
| extras | No | Optional extras from get_services, e.g. [{"id":11},{"id":15,"quantity":4}] | |
| address | Yes | ||
| bedrooms | Yes | Number of bedrooms (studio = 1) | |
| customer | Yes | ||
| bathrooms | No | ||
| condition | No | When the home last had a thorough clean: recent (<1 month), one_to_six_months, over_six_months (or never) | recent |
| frequency | No | once, weekly, biweekly (every 2 weeks) or monthly — recurring plans get a discount | once |
| agent_name | No | Name of the assistant/app making the booking | |
| surface_m2 | No | Living area in m² (optional, improves accuracy) | |
| high_ceilings | No | Haussmann building / ceilings over 3 m | |
| arrival_window | Yes | Start of the 2-hour arrival window from get_time_slots, e.g. "14:00" | |
| customer_confirmed | Yes | true = the customer saw the price and details and asked to book | |
| furnished_occupied | No | Home is furnished and lived in |