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
Name | Type | Description |
---|---|---|
notes | string | Optional Any notes added by the guest. |
group_name | string | Optional Name of the group appointment. |
Response Details
Name | Type | Description |
---|---|---|
is_confirmed | boolean | Indicates the status of the booking. |
invoice | object | Object that contains various invoice-related details. For more information, refer to the invoice Object table. |
error | object | Object that contains error message and error code details. For more information, refer to the error Object table. |
error Object
code | message |
---|---|
503 | id is missing. |
438 | cannot acces. |
5002 | Can not modify as service is applied with in-time discounts. |
5001 | Appointment cannot be rescheduled. |
4072 | Sorry, we weren't able to confirm your appointment due to some technical issues. Please try selecting your desired date & time again. |
invoice Object
Name | Type | Description |
---|---|---|
guest | object | Object that contains various guest-related details that are part of the booking. For more information, refer to the guest Object table. |
invoice_id | guid | Unique 32-character identifier of the invoice. |
items | object | Object that contains various items-related details that are part of the booking. For more information, refer to the items Object table. |
guest Object
Name | Type | Description |
---|---|---|
Id | guid | Unique 32-character identifier of the guest. |
FirstName | string | First name of the guest. |
LastName | string | Last name of the guest. |
items Object
Name | Type | Description |
---|---|---|
item | object | Object that contains various service-related details that are part of the booking. For more information, refer to the item Object table. |
therapist | object | Object that contains various therapist-related details of the booking. For more information, refer to the therapist Object table. |
quantity | int | Number of items that are included as part of the booking. |
room | string? | Room assigned for the booking. |
equipment | string? | Equipment required for the booking. |
start_time | datetime | Start time of the appointment. |
end_time | datetime | End time of the appointment. |
appointment_id | guid | Unique 32-character identifier of the appointment. |
addons | string? | Any add-ons included as part of the service booking. |
package_services | string? | Any package services included as part of the service booking. |
item Object
Name | Type | Description |
---|---|---|
item.id | guid | Unique 32-character identifier of the service. |
item.name | string | Name of the service. |
item_type | string | Type of the service. |
therapist Object
Name | Type | Description |
---|---|---|
id | guid | Unique 32-character identifier of the therapist. |
full_name | string | Full name of the therapist. |
first_name | string | First name of the therapist. |
last_name | string | Last name of the therapist. |
nick_name | string | Nick name of the therapist. |