Deprecated: use List Appointments
with customerId and a time window instead.
Lists the appointments for one customer, newest first. Requires read access to
that customer. Without pageSize the first 100 return; when nextCursor is
set, send it back as cursor for the next page.
Deprecated: use ListAppointments with customer_id and a time window. Lists visible appointments for one customer, newest scheduled first. Without page_size the first 100 return with a next_cursor when more exist.
RequestListCustomerAppointmentsRequest
ResponseListCustomerAppointmentsResponse
ListCustomerAppointmentsRequest
Field
Type
Description
customer_id
string
Customer whose appointments are listed.
page_size
int32
Rows per page, 1 to 100. Zero uses 100. Without page_size the first 100 return with a next_cursor when more exist.
cursor
string
Opaque next_cursor from the previous page; keep the other filters the same. The preferred way to read every row.
ListCustomerAppointmentsResponse
Field
Type
Description
appointments
repeated Appointment
The customer's appointments.
next_cursor
string
Pass as cursor to read the next page. Empty on the last page.
Related Types
Appointment
Field
Type
Description
id
string
Appointment identifier.
customer_id
string
Customer the appointment is booked for.
agenda_id
string
Agenda the appointment belongs to.
appointment_type_id
string
Appointment type applied to the appointment.
assigned_member_id
string
Member currently assigned, or empty when unassigned.
scheduled_start_at
int64
Scheduled start as unix seconds.
scheduled_end_at
int64
Scheduled end as unix seconds.
duration_minutes
int32
Scheduled duration in minutes.
status
AppointmentStatus
Current lifecycle status.
notes
string
Free-text notes stored on the appointment.
created_at
int64
Unix seconds when the appointment was created.
updated_at
int64
Unix seconds when the appointment was last updated.