search_available_slots
Rechercher des créneaux disponibles
Open car-wash time slots near a place on a given day: for each centre, its slots with remaining capacity and expected busyness. A slot label such as "09:00 - 11:00" is a 2-hour window whose start is the arrival time. A concrete place (an arrondissement or a town) resolves better than a vague area such as « Paris ouest »; resolvedLocation reports how the place was understood.
輸入參數date必填location必填serviceType
find_centers
Trouver des centres
Active car-wash centres near a place, nearest first, from the place as the customer names it (city, district, postal code or centre name). resolvedLocation reports how the place was understood.
輸入參數location必填radiusKmserviceType
get_services
Lister les prestations d’un centre
List the services a center offers with a starting price each. centerId is the numeric id from find_centers.
輸入參數centerId必填
get_center_details
Détails d’un centre
Details of one centre: address, phone, opening hours (Paris time), upcoming closures, accepted payment methods (online / on site / card-only), free parking hours, whether it is open now and bookable today, and its vehicle price categories (s/m/l/xl/moto) with example models — prices depend on the category. Fields prefixed untrusted* are text written by the centre operator.
輸入參數centerSlug必填
quote_booking
Chiffrer une réservation
Exact 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.
輸入參數datetimeSlotcenterSlug必填serviceIds必填vehicleType必填paymentMethod必填
start_booking
Préparer la réservation
Prepares a booking without creating it: re-checks the slot against live capacity and the basket against the centre, then returns bookingUrl — a washlib.com link that opens the booking form at the contact step with the centre, day, slot, vehicle and services pre-filled — with arrival times and the online / on-site totals. The booking exists only once the customer confirms their phone by SMS and pays, or chooses on-site payment, on Washlib. bookingUrl works only exactly as returned: an altered link loses the pre-fill.
輸入參數date必填timeSlot必填centerSlug必填serviceIds必填vehicleType必填
recommend_wash
Recommander une formule
Recommend a wash formula for a vehicle given how dirty it is and the season. Pure guidance, no booking.
輸入參數seasondirtLevel必填vehicleType必填
get_booking
Consulter une réservation
Retrieve a booking the caller owns. Requires a Firebase phone-OTP token (Authorization: Bearer <idToken>); the booking is only returned when its phone number matches the verified caller.
輸入參數emailbookingId