Skip to content

appointmentTypesCount

Number of appointment types (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.

Returns

Int

Example

query appointmentTypesCount(
$appointment_type_ids: [ID]
$clients_can_book: Boolean
$embed_or_sharing_link: Boolean
$keywords: String
$offering_id: String
$org_level: Boolean
$provider_id: ID
$provider_ids: [ID]
$show_group: Boolean
$with_deleted_appt_types: Boolean
) {
appointmentTypesCount(
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
)
}