v1

latestOpenAPI 3.1.02026-07-2422707.0 MB

Fetch wait times of available stylists for a selected service

Purpose: The purpose of this API is to retrieve the wait times of available stylists for a selected service in a center.

post/v1/queue/available_times

Query parameters

availability_by_time_slotsboolean

If true, first available center time will be provided otherwise first slot will be provided.

skip_catalog_validationboolean

If true, catalog validations for employees and services is skipped. If false, catalog validations for the employees and the services are performed.

skip_kiosk_validationboolean

If true, Zenoti will not check if the employees are available in kiosk. If false, Zenoti will check if the employees are available on Kiosk.

first_available_timesstring

Optional parameter, used in expand.

Request body

center_idstring

Unique identifier of the center.

consider_online_hoursboolean

If true, Zenoti will consider the online hours while fetching the wait times. If false, Zenoti will not consider the online hours while fetching the wait times of available stylists.

servicesobject

Object containing the service ids.

Response

200

OR
OR
OR

Example response

{
  "available_times": [
    {
      "start_time": "2022-09-09T11:45:00"
    }
  ],
  "available_times_by_guest": [
    {
      "start_time": "2022-09-09T11:45:00"
    }
  ]
}