Get the exact price
get_quoteGet the price the checkout will show a new customer, with any evening rate or public voucher it applies. Give date and start_time (from find_times) for the exact figure for that slot; without them you get the price for that length or job, and the evening rate is described separately. For weekly and every-2-weeks cleans it returns both the prepaid pack of visits (what the checkout starts on) and paying per visit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | YYYY-MM-DD, Singapore date. | |
| hours | No | Cleaning only: visit length in hours (see find_services for the lengths we sell, e.g. 2, 3 or 4). | |
| service | Yes | Required: the code of the service the customer asked for, from find_services (e.g. cleaning, aircon, sofa_cleaning). cleaning = home cleaning by the hour, general housekeeping only: a deep clean, a spring clean, a move-out clean or one item cleaned is its own service. Every other service is booked by the job: give job_type and unit_count from its card. | |
| job_type | No | Every service but cleaning: the job, a job_type from the service's card (find_services with its code), e.g. general_service for aircon. A service quoted for each job has one: its quotation visit (quotation_visit) or consultation. | |
| frequency | No | Cleaning only: one-time, weekly, or bi-weekly (every 2 weeks). | one-time |
| start_time | No | Start time from find_times, 24-hour HH:MM (e.g. 19:30) or like 7:30 PM. | |
| unit_count | No | Every service but cleaning: how many, in the service's own unit from its card (units, pieces, hours, panels...). 1 for a quotation visit or a consultation. |