Skip to main content

Customers Tools

Search, create, and update customer records. View booking history and manage internal notes.

Required scope: customers:read for read tools, customers:write for write tools

Tools Overviewโ€‹

ToolDescriptionRead-only?
list_customersList customers with optional filtersYes
get_customerGet detailed customer information with booking history, by customer or booking IDYes
search_customersSearch customers by name, email, or phoneYes
create_customerCreate a new customerNo
update_customerUpdate an existing customerNo
get_customer_notesGet all internal notes on a customerYes
add_customer_noteAdd an internal note to a customerNo

list_customersโ€‹

List customers with optional search and date filters.

Parametersโ€‹

NameTypeRequiredDescription
searchstringNoSearch by name, organization name, email, or phone
created_afterstringNoFilter customers created on or after this date (e.g., today, this week, 2026-02-10)
created_beforestringNoFilter customers created on or before this date
sortstringNoSort order: name (default) or newest
limitintegerNoNumber of results (default 10)

get_customerโ€‹

Get detailed customer information including phone, email and booking history.

Parametersโ€‹

NameTypeRequiredDescription
customer_idintegerOne of the twoThe customer ID. A booking row's customer_id, never its booking id
booking_idintegerOne of the twoA booking ID. Returns the customer on that booking

Passing a booking ID as customer_id returns an error that says so and gives the right customer_id.


search_customersโ€‹

Search for customers by name, organization name (school, club, company), email, or phone.

Parametersโ€‹

NameTypeRequiredDescription
querystringYesSearch query

create_customerโ€‹

Create a new customer.

Parametersโ€‹

NameTypeRequiredDescription
first_namestringYesFirst name
last_namestringYesLast name
emailstringNoEmail address
phonestringNoPhone number

update_customerโ€‹

Update an existing customer.

Parametersโ€‹

NameTypeRequiredDescription
customer_idintegerYesThe customer ID to update
first_namestringNoNew first name
last_namestringNoNew last name
emailstringNoNew email address
phonestringNoNew phone number
user_confirmedbooleanYesMust be true to update

get_customer_notesโ€‹

Get all internal notes on a customer profile.

Parametersโ€‹

NameTypeRequiredDescription
customer_idintegerYesThe customer ID

add_customer_noteโ€‹

Add an internal note to a customer profile.

Parametersโ€‹

NameTypeRequiredDescription
customer_idintegerYesThe customer ID
notestringYesThe note text to add