Start a booking
start_bookingStart a booking and get a secure checkout link for the guest. Nothing is reserved until the guest pays on that link (valid 24 hours). Only works at campsites that take payment online (assistant_can_book is true); elsewhere send the guest to the booking_url to book themselves. Requires the guest's name and email, which the campsite uses for the confirmation. Confirm every detail with the guest first. Rate limited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dogs | No | Number of dogs. | |
| guest | Yes | ||
| notes | No | A message for the campsite (arrival time, requests). | |
| adults | Yes | Number of adults. | |
| extras | No | Optional extras from get_campsite (electric hook-up, firewood, late checkout...). | |
| answers | No | Answers to the campsite's booking_questions from get_campsite, keyed by question id. Required questions must be answered. | |
| infants | No | Number of infants, only at campsites whose age_policy has infants_under_age. Infants are never charged. | |
| campsite | Yes | The campsite slug, as returned by search_campsites. | |
| check_in | Yes | Arrival date, YYYY-MM-DD. | |
| children | No | Number of children. Which ages count as a child varies by campsite: see age_policy on get_campsite (default: everyone under 18). | |
| check_out | Yes | Departure date, YYYY-MM-DD. Must be after check_in. | |
| child_ages | No | One age per child, if known. | |
| voucher_code | No | A gift voucher code, if the campsite sells them. | |
| discount_code | No | A promotional code the guest has, if the campsite accepts them. | |
| club_membership | No | Required when get_campsite lists a members-only club under club_memberships. status "member" with the guest's membership identifier in "number" (a membership number, or where the club's identifier is "email", such as the Greener Camping Club, the email address the membership is registered to), or "join" where the club allows joining at booking (the fee is added to the total). | |
| accommodation_id | Yes | accommodation_id from check_availability or get_campsite. |