Confirm a service booking

This API helps you to confirm the required reserved service booking (booking_id).

You can also use this API to confirm the required group service booking (booking_id). You must specify in the API request body the appropriate appointment group_name details.

You can choose a specific therapist or a therapist based on a certain gender while creating a service booking; after which, a unique 32-digit booking_id is generated.

After you have reserved the service booking, you must then specify the generated booking_id as an input parameter to use this API to confirm the service booking before the reservation time of the slot expires.

If the service booking is confirmed, you will receive the details of the service booking in the generated response.

This API also allows you to confirm service bookings for family members. Provided, there ia a relationship defined in Zenoti between the host and the family members.

Request Body Details

NameTypeDescription
notesstringOptional
Any notes added by the guest.
group_namestringOptional
Name of the group appointment.

Response Details

NameTypeDescription
is_confirmedbooleanIndicates the status of the booking.
invoiceobjectObject that contains various invoice-related details. For more information, refer to the invoice Object table.
errorobjectObject that contains error message and error code details. For more information, refer to the error Object table.

error Object

codemessage
503id is missing.
438cannot acces.
5002Can not modify as service is applied with in-time discounts.
5001Appointment cannot be rescheduled.
4072Sorry, we weren't able to confirm your appointment due to some technical issues. Please try selecting your desired date & time again.

invoice Object

NameTypeDescription
guestobjectObject that contains various guest-related details that are part of the booking. For more information, refer to the guest Object table.
invoice_idguidUnique 32-character identifier of the invoice.
itemsobjectObject that contains various items-related details that are part of the booking. For more information, refer to the items Object table.

guest Object

NameTypeDescription
IdguidUnique 32-character identifier of the guest.
FirstNamestringFirst name of the guest.
LastNamestringLast name of the guest.

items Object

NameTypeDescription
itemobjectObject that contains various service-related details that are part of the booking. For more information, refer to the item Object table.
therapistobjectObject that contains various therapist-related details of the booking. For more information, refer to the therapist Object table.
quantityintNumber of items that are included as part of the booking.
roomstring?Room assigned for the booking.
equipmentstring?Equipment required for the booking.
start_timedatetimeStart time of the appointment.
end_timedatetimeEnd time of the appointment.
appointment_idguidUnique 32-character identifier of the appointment.
addonsstring?Any add-ons included as part of the service booking.
package_servicesstring?Any package services included as part of the service booking.

item Object

NameTypeDescription
item.idguidUnique 32-character identifier of the service.
item.namestringName of the service.
item_typestringType of the service.

therapist Object

NameTypeDescription
idguidUnique 32-character identifier of the therapist.
full_namestringFull name of the therapist.
first_namestringFirst name of the therapist.
last_namestringLast name of the therapist.
nick_namestringNick name of the therapist.
Language
Credentials
Header
Click Try It! to start a request and see the response here!