Chiffrer une réservation
quote_bookingExact price of a basket of services at one centre for a vehicle category, as the booking will charge it: per-line prices, the online-payment discount, off-peak (« heures creuses ») pricing when date and timeSlot are given, and the on-site total. Also returns notIncludedOptions (common needs the basket does not cover, such as seats or pet hair) and thresholdNudge (an option that would unlock the online discount for the same total or less), each possibly empty. An invalid basket returns { error, message } (incompatible_options, missing_formule, service_not_available, online_payment_not_accepted). Promo codes are not accepted here; they are entered on the booking page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Chosen day, YYYY-MM-DD (Europe/Paris): some slots are cheaper | |
| timeSlot | No | ||
| centerSlug | Yes | Centre slug as returned by find_centers or search_available_slots | |
| serviceIds | Yes | Service ids from get_services: one formule, plus any options | |
| vehicleType | Yes | vehicleTypes.value from get_center_details (s, m, l, xl, moto) — never the label. | |
| paymentMethod | Yes | online = card at booking (often discounted), on_site = at the centre |