Skip to content

appointmentTypes

Fetch paginated Appointment Type collection (considered public)

Arguments

appointment_type_ids · [ID] · Array of ids to include
provider_ids · [ID] · Bookable provider ids; with clients_can_book, limits provider-specific types to these providers (org-level / no preference).
show_group · Boolean · When true, returns only group appointment types; when false, only non-group types. When omitted, returns both.
after · String · Returns the elements in the list that come after the specified cursor.
before · String · Returns the elements in the list that come before the specified cursor.
first · Int · Returns the first _n_ elements from the list.
last · Int · Returns the last _n_ elements from the list.

Returns

AppointmentTypePaginationConnection

Example

query appointmentTypes(
$appointment_type_ids: [ID]
$clients_can_book: Boolean
$embed_or_sharing_link: Boolean
$keywords: String
$offering_id: String
$org_level: Boolean
$provider_id: String
$provider_ids: [ID]
$show_group: Boolean
$with_deleted_appt_types: Boolean
$order_by: AppointmentTypeOrderKeys
$after: String
$before: String
$first: Int
$last: Int
) {
appointmentTypes(
appointment_type_ids: $appointment_type_ids
clients_can_book: $clients_can_book
embed_or_sharing_link: $embed_or_sharing_link
keywords: $keywords
offering_id: $offering_id
org_level: $org_level
provider_id: $provider_id
provider_ids: $provider_ids
show_group: $show_group
with_deleted_appt_types: $with_deleted_appt_types
order_by: $order_by
after: $after
before: $before
first: $first
last: $last
) {
edges
nodes
page_info
total_count
}
}