Implement single therapist bookings for V1

This API ensures that when consider_single_therapist_slot is set to true, all booked services are assigned to the same therapist.

Request Model


Json PropertyData TypeDescription
center_idGuidCenter identifier
dateDateTimeDate of the booking
booking_sourceBookingSource?Source of the booking (nullable enum)
guestsList<GuestBookingModel>List of guest booking models
campaign_idGuid?Campaign identifier (nullable)
reference_nolong?Reference number (nullable)
appointment_typeGroupAppointmentType?Type of appointment (nullable enum)
consider_center_timingsboolWhether to consider center timings
is_booking_at_different_times_for_different_guestsboolAllow booking at different times for different guests
therapist_double_bookingTherapistDoubleBooking?Therapist double booking mode (nullable enum)
is_only_checked_in_employeesboolRestrict to checked-in employees only
is_noncontiguous_slotsboolAllow non-contiguous booking slots
is_surpriseboolWhether the booking is a surprise
host_idGuid?Host identifier (nullable)
reservation_idGuid?Reservation identifier (nullable)
is_only_catalog_employeesboolRestrict to catalog-listed employees only
can_reschedule_appointmentboolWhether appointment can be rescheduled
service_applied_with_in-time_discountboolIndicates if in-time discount is applied
is_double_booking_enabledbool?Allow overlapping booking even when therapist is busy
is_family_bookingboolIndicates a family-only booking
relationship_host_idGuid?User ID of the relationship host (nullable)
skip_catalog_validationsboolWhether to skip catalog validations
waitlist_group_idGuid?Waitlist group identifier (nullable)
use_online_booking_templateboolUse online booking template
preserve_orderboolPreserve service booking order
is_couple_bookingboolIndicates a couple’s booking
allow_future_bookingsboolAllow bookings for future dates

guests object (GuestBookingModel)

Json PropertyData TypeDescription
idGuid?Guest ID (nullable)
notesstringNotes related to the guest
itemsList<ItemRequestModel>List of item bookings per guest
reservation_idGuid?Reservation ID (nullable)

items object (ItemRequestModel)

Json PropertyData TypeDescription
itemBaseItemModelThe item/service being booked
therapistTherapistRequestModelTherapist requested for the item
roomRoomRequestModelRoom requested for the item
equipmentEquipmentRequestModelEquipment requested for the item
qtyint?Quantity of the item (nullable)

item object (BaseItemModel)

Json PropertyData TypeDescription
idGuid?Item identifier (nullable)
item_typeItemTypeType of the item being booked

therapist object (TherapistRequestModel)

Json PropertyData TypeDescription
idGuid?Therapist ID (nullable)
genderRequestedGender?Gender preference (nullable enum)

room object (RoomRequestModel)

Json PropertyData TypeDescription
idGuid?Room ID (nullable)

equipment object (EquipmentRequestModel)

Json PropertyData TypeDescription
idGuid?Equipment ID (nullable)

Response Model

(CreateBookingResponseModel)

Json PropertyData TypeDescription
idGuidBooking ID returned in the response

Enum (BookingSource)

Enum MemberValue TypeDescription
OnlineintBooking made via online portal
PhoneintBooking made via phone
InCenterintBooking made directly at the center
ThirdPartyintBooking received from a third-party system

Enum (GroupAppointmentType)

Enum MemberValue TypeDescription
GroupintStandard group appointment
CoupleintCouple’s booking
FamilyintFamily group booking

Enum (TherapistDoubleBooking)

Enum MemberValue TypeDescription
NotAllowedintDo not allow double booking
AllowedWithPromptintAllow with warning or confirmation
AlwaysAllowedintAlways allow double booking

Enum (ItemType)

Enum MemberValue TypeDescription
ServiceintRegular service item
PackageintService package
MembershipintMembership-based item
ProductintRetail product

Enum (RequestedGender)

Enum MemberValue TypeDescription
AnyintNo gender preference
MaleintPrefer male therapist
FemaleintPrefer female therapist
Language
Credentials
Header
Click Try It! to start a request and see the response here!