Skip to content

CreateAvailabilityWithAppointmentTypesInput

Autogenerated input type of CreateAvailabilityWithAppointmentTypes

Fields

appointment_type_ids · [ID!] · Appointment types this availability covers.
link_all_non_group_types · Boolean · When true, the availability covers every non-group appointment type the provider owns. Mutually exclusive with appointment_type_ids.
start_datetime · ISO8601DateTime! · required · Start of the availability window (ISO 8601 with offset).
end_datetime · ISO8601DateTime! · required · End of the availability window (ISO 8601 with offset). Must be after start_datetime.
user_id · ID · ID of the provider this availability is for. Defaults to the current user when omitted.
timezone · String · IANA timezone name to persist on the availability record. Defaults to the target provider's timezone.
contact_type_id · Int · Contact type (delivery mode) to scope this availability to. Required when the org has times_by_contact_type enabled and the booking flow filters slots by contact type.
appointment_location_id · ID · Appointment location to scope this availability to. Required when the org has times_by_location enabled and the booking flow filters slots by location.

Used By

Definition

"""
Autogenerated input type of CreateAvailabilityWithAppointmentTypes
"""
input CreateAvailabilityWithAppointmentTypesInput {
"""
Appointment types this availability covers.
"""
appointment_type_ids: [ID!]
"""
When true, the availability covers every non-group appointment type the provider owns. Mutually exclusive with appointment_type_ids.
"""
link_all_non_group_types: Boolean
"""
Start of the availability window (ISO 8601 with offset).
"""
start_datetime: ISO8601DateTime!
"""
End of the availability window (ISO 8601 with offset). Must be after start_datetime.
"""
end_datetime: ISO8601DateTime!
"""
ID of the provider this availability is for. Defaults to the current user when omitted.
"""
user_id: ID
"""
IANA timezone name to persist on the availability record. Defaults to the target provider's timezone.
"""
timezone: String
"""
Contact type (delivery mode) to scope this availability to. Required when the org has times_by_contact_type enabled and the booking flow filters slots by contact type.
"""
contact_type_id: Int
"""
Appointment location to scope this availability to. Required when the org has times_by_location enabled and the booking flow filters slots by location.
"""
appointment_location_id: ID
}