<- Object

Object

All versions ->

SearchAvailabilityFilter

A query filter to search for buyer-accessible availabilities by.

Link to section

Properties

Link to section

start_at_range

Required

The query expression to search for buy-accessible availabilities with their starting times falling within the specified time range. The time range must be at least 24 hours and at most 32 days long. For waitlist availabilities, the time range can be 0 or more up to 367 days long.

Link to section

location_id

string

The query expression to search for buyer-accessible availabilities with their location IDs matching the specified location ID. This query expression cannot be set if booking_id is set.

Link to section

segment_filters

The query expression to search for buyer-accessible availabilities matching the specified list of segment filters. If the size of the segment_filters list is n, the search returns availabilities with n segments per availability.

This query expression cannot be set if booking_id is set.

Link to section

booking_id

string

The query expression to search for buyer-accessible availabilities for an existing booking by matching the specified booking_id value. This is commonly used to reschedule an appointment. If this expression is set, the location_id and segment_filters expressions cannot be set.