book_appointment
Book an appointment
Books what review_booking priced, exactly as reviewed, once the person agreed to that review; a card showing the review may book it itself and report the outcome to your context. Answers the booking: appointmentCode, status (REQUESTED when the business still has to accept it, then awaitingBusiness is true; CONFIRMED when it is booked), title, start and end time with the venue's timezone, venue…
輸入參數confirmation必填
cancel_booking
Cancel a booking
Cancels the booking review_cancellation reviewed, exactly as reviewed, once the person agreed to that review; a card showing the review may cancel it itself and report the outcome to your context. Answers appointmentCode, status CANCELLED and the outcome (refund, fee, strike, pass uses returned, as review_cancellation described them); alreadyCancelled is true, with no outcome, when the booking…
輸入參數confirmation必填
reschedule_booking
Reschedule a booking
Moves the booking review_reschedule reviewed, exactly as reviewed, once the person agreed to that review; call review_reschedule first. A card showing the review may move it itself and report the outcome to your context. Answers the moved booking: appointmentCode, status (REQUESTED when the business has to accept the move, then awaitingBusiness is true; CONFIRMED when it is moved), title, the new…
輸入參數confirmation必填
review_booking
Review a booking
Prices a booking of one service at a venue at one start time for this person, without booking anything: core checks the time is free and the business takes the booking online. Answers each priced line (name, quantity, unit price, total, discount, and passCoverage FULL when a pass of theirs covers it), amountTotal for the whole booking and amountDue after what a pass covers, as minorUnits with the…
輸入參數notesstartTime必填venueCode必填serviceCode必填staffAccountCode
review_cancellation
Review a cancellation
Tells what cancelling one of this person's own bookings right now would do, without cancelling it, under the terms it was booked under: refundPercentage, until when cancelling gives everything back (fullRefundUntil, when the terms set one), the late fee, whether prepaid credit is forfeited or a strike is recorded, what was paid, what would be refunded, and how many pass uses come back, money as…
輸入參數reasonappointmentCode必填
review_reschedule
Review a reschedule
Tells what moving one of this person's own bookings to a new start time would do, without moving it, under the terms it was booked under: the current and the new start and end time with the booking's timezone, status (REQUESTED when the business has to accept the move, then awaitingBusiness is true; CONFIRMED when it is moved at once), the staff member, any fee the move adds (fees, each with its…
輸入參數startTime必填appointmentCode必填
Gets one booking by appointmentCode: title, business organizationCode, start and end time with its timezone, status, this person's own response to it, the staff member, where it is held (VENUE, ADDRESS or ONLINE, with the venue, its city, cover image, address and map link, or the meeting link), notes, each booked service with its time, staff and price (one entry per unit taken: one price for…
輸入參數appointmentCode必填
list_my_bookings
List my bookings
Lists the bookings this person made as a customer at any business: one-to-one appointments and seats in classes or events. UPCOMING lists those starting now or later, soonest first; PAST those that already started, most recent first. Each has its appointmentCode, title, business organizationCode, start and end time, the timezone it is held in, status (REQUESTED, CONFIRMED, DECLINED, CANCELLED,…
輸入參數pageperiod必填
list_my_calendar_events
List my calendar events
Lists this person's calendar: their own events, their bookings and the connected calendars they show. Give either from and to, at most 92 days apart, for the events in that range with recurring ones expanded, earliest first; or query alone, 2 to 100 characters matched against title, location and description across all dates, latest first. Never both. Each event has its title, kind (PERSONAL,…
輸入參數tofrompagequery
find_businesses
Find businesses to book
Finds businesses on EasyBook that a person can book with, by what they are looking for, industry, city or nearness to a place. Each result is one venue (a business's location) with its venueCode, organizationCode, name, industries, address, rating, whether it takes online bookings, distance in km when searching near a place, and the services that matched the search with their serviceCode and…
輸入參數citypagequerylatituderadiusKmlongitudeindustryCode
find_free_times
Find free times to book
Finds the times one service can be booked at a venue between two dates, at most 90 days apart: the venue's name, the service's name and duration in minutes, and for each day with a free time the staff members free then, each with their accountCode, name, photo, rating and review count, and the start times they can take, as ISO-8601 date-times with their UTC offset; timezone is the venue's, for…
輸入參數tofrom必填venueCode必填serviceCode必填staffAccountCode
get_business
Get a business's details
Shows one bookable venue on EasyBook: its name, description, industries, address, timezone, phone number, rating, whether it takes online bookings, opening hours per day of the week in the venue's timezone, the services it offers (serviceCode, name, kind, delivery, duration in minutes, price as minorUnits with the currency's scale, and whether a booking waits for the business to confirm it), its…
輸入參數venueCode必填
search_docs
Search EasyBook's documentation
Searches EasyBook's public documentation for how to do something in EasyBook: setting up a business, services, staff, bookings, payments and the other features. Returns the best-matching documentation sections, each with its title, heading, product, url and content; answer from the content and cite the url. Needs no access to this person's data.
輸入參數query必填industrylanguage