- Brand
- Corterra Book
- Category
- Operations
- Primary Subcategory
- Local Services Booking Marketplaces
Integration details
Description
Corterra Book is booking software for spas, saunas, massage therapists and studios. Connect it and ask in your own words: set up a new business or see what is already set up; add or change services, classes, add-ons and retail items; build memberships, packs and combos; change your hours, close for a day or part of a day, and set holidays; book, move, cancel and check in appointments; find quiet days and the regulars who could fill them; see who has drifted away and draft a win-back email for your review; set up review requests, rebook reminders, a first-visit welcome and win-back emails that go out on their own, and see who booked after them; and get a read on last week's bookings, new clients, no-shows and sales. It asks before it saves anything, and it can never charge a card, take a payment or issue a refund. You need a Corterra Book account, and you sign in with your dashboard login when you connect.
- Integration type
- Plugin
- Verification status
- Not applicable
- Platform
- ChatGPT
- Primary Subcategory
- Local Services Booking Marketplaces
- Secondary Subcategories
- None listed
- Brand
- Corterra Book
- Access
- Account required
- First tracked
- 2026-12-01
- Tool count
- 116
- Market
- US
The Primary Subcategory used for this profile’s headline score.
Other Subcategories where the Integration is listed.
Not discoverable in ChatGPT yet
ChatGPT now suggests Plugins on its own when they match a user's request, but not every Plugin is being surfaced yet.We haven’t seen Corterra Book suggested yet. Sign up and we’ll track it, and your Discoverability Score will appear here once ChatGPT starts surfacing it.
What discovery looks like

Get alerts for Corterra Book
Get updates when Corterra Book’s Discoverability Score or category rank changes.
Competing in ChatGPT Local Services Booking Marketplaces
View Category116 tools agents can invoke
Create a product category (a grouping shown in the booking flow). Returns the created category with its `id`, usable as `category_id` on a product.
create_product_category
Create a COMBO: several packs sold together at one price (not a sale — selling stays at the Front Desk and the shop). E.g. "Warrior: 1 Fire & Ice + 1 float of 60, 75 or 90 minutes, $149". `price` is what the customer pays for the whole combo: the combo holds the price, and its components carry none. `components` is a list of `{session_option_ids, sessions_qty}`, each "N visits for any of these services": the services in one component share one count, and each component becomes its own pack when sold. Put services in separate components when each needs its own count (one Fire & Ice AND one float is two components; a float of any length is one component listing the three floats). Every id must be one of the business's active bookable services (list_products). It starts off the shop: listing it there is update_online_shop_item (`kind` `combo`), and that is asked of the person first. `sale_form_id` is the form a sale of this combo emails the buyer: an `id` from list_forms whose `trigger` is `when_sold`. ⚠ Ask the person which form, or whether they want one; never pick one for them. Omit it for none. The expiry is how long its packs last: `expires_length` (1 or more), `expires_unit` (`'day'`, `'week'` or `'month'`; a year is 12 months) and `expires_from` (`'purchase'`, or `'first_use'` for the customer's first visit). Send all three or none of them (none = never expires). ⚠ After that date the customer can no longer use the pack (online, in the app or at the kiosk); staff, and you booking for them with create_booking's `use_bundle`, still can. Refused, nothing created: `invalid_name`, `invalid_price`, `invalid_components`, `no_components`, `no_products` (a component with no services), `invalid_sessions_qty`, `invalid_expiry`, `unknown_product` (not one of the business's active bookable services), `sale_form_not_found`, `not_sent_when_sold`. Returns the combo.
create_combo
Add a staff note to a customer's profile: the business's own record, read by its staff on the dashboard and by get_customer_overview. Use this for standing facts that apply across every visit — preferences (a quiet room, firmer pressure), scheduling and contact notes (prefers a text, parks at the back). ⚠ Never write health details into a note: a condition, an injury, a medication or a pregnancy. Health information belongs on the business's intake forms, which stay on its dashboard; if the person asks you to note one, say so and suggest they add it there themselves. For a detail specific to a single upcoming appointment, prefer set_booking_notes instead. `body` is free text (up to 5000 characters). The note is appended — it never overwrites existing notes (see get_customer_overview for the current set). Returns the created note.
add_customer_note
Add a custom fixed-date holiday that recurs every year (e.g. a Founder's Day). `month` 1-12, `day` 1-31. For a one-off closure on a specific date use add_blackout_date instead. Returns the created holiday with its `id`.
add_custom_holiday
Create a membership tier DEFINITION (not a sale — selling stays on the web). `price` is what the member is charged each billing period. `billing_interval` is `'month'` (the default) or `'year'` — so a yearly tier's `price` is the whole year, not a monthly figure. It CANNOT be changed afterwards: a tier's interval is fixed at creation, so offering both means creating two tiers. Confirm which one the tenant means before creating a tier whose price looks like an annual figure. `discount_pct` (0-100) is the member discount on eligible products. `is_shared`+`max_members` make it a family/shared plan. `linked_product_ids` are member-only products the tier unlocks. `friend_vouchers_per_month` + `friend_voucher_product_ids` grant bring-a-friend vouchers. No Stripe is created now — the tier's price is provisioned at first sale. Returns the created tier. `service_limits` caps how many times a month the tier includes an individual service: `{product_id: uses_per_month}`, e.g. `{7: 2}` for "hyperbaric twice a month". **Every included service is UNLIMITED unless it appears here** — that is what a tier meant before limits existed, so omit the whole argument for an all-you-can-use tier and list only the services you are actually capping. A product must also be in `linked_product_ids` for a limit on it to mean anything. The allowance is shared by everyone on a shared plan (one pool, not one each) and resets on the 1st of the month, not on the member's renewal date. Ask which services are capped rather than assuming. "Unlimited sauna, hyperbaric twice a month" is `linked_product_ids=[3, 7], service_limits={7: 2}` — sauna is included and simply not listed. `hidden_products` hides PUBLIC products from a signed-in member on the booking page and in the app, so a member is not offered the paid version of what their tier already includes: `[{covered_product_id, hidden_product_ids}]`, e.g. `[{"covered_product_id": 7, "hidden_product_ids": [3]}]` hides product 3 from members while included service 7 still has uses. `covered_product_id` must be in `linked_product_ids`, and a product can sit under only one of them. **If the included service is capped in `service_limits`, the product comes back once that month's uses run out**, so the member can still book it by paying; if the service is unlimited, the product stays hidden. Staff screens never hide anything. Omit it to hide nothing. `agreement_id` is the membership agreement a sale of this tier must be signed under (an `id` from list_membership_agreements). Omit it for none. `sale_form_id` is the form a sale of this tier emails: a waiver, consent or intake form whose `trigger` is `when_sold` (an `id` from list_forms). The buyer is emailed a link to sign it once the sale is done, and so is each person added to a shared plan later; someone who already signed it, or has a link waiting, is sent nothing new. It never stops or holds up a sale, and the kiosk never asks for it — unlike the agreement, which is signed before the membership can be paid. ⚠ Ask the person which form, or whether they want one; never pick one for them. Omit it for none. A form asked at bookings is refused (`not_sent_when_sold`): if the person agrees, change its `trigger` to `when_sold` with update_form first.
create_membership
Create a session-pack bundle DEFINITION (e.g. "5 massages for $200"). A bundle holds ONE shared balance redeemable against a SET of services — one session is drawn whichever covered service is booked. Pass `session_option_ids`, the list of eligible bookable products (active, non-retail; see list_products), plus an optional `name` (the pack's display name; falls back to the primary service when omitted). For a single-service pack you may pass one `session_option_id` instead. `sessions_qty` is how many sessions, `price` the pack price. At least one service is required (`no_products`). Selling stays on the web. Returns the created bundle. `sale_form_id` is the form a sale of this pack emails the buyer: an `id` from list_forms whose `trigger` is `when_sold`. It goes once the sale is done and never holds it up; someone who already signed it, or has a link waiting, is sent nothing new. ⚠ Ask the person which form, or whether they want one; never pick one for them. Omit it for none. update_bundle changes it later. The expiry is how long the packs it sells last: `expires_length` (1 or more), `expires_unit` (`'day'`, `'week'` or `'month'`; a year is 12 months) and `expires_from` (`'purchase'`, or `'first_use'` for the customer's first visit). Send all three or none of them (none = never expires); anything else is refused `invalid_expiry`. ⚠ After that date the customer can no longer use the pack (online, in the app or at the kiosk); staff, and you booking for them with create_booking's `use_bundle`, still can. update_bundle changes it later, which never reaches packs already sold. Refused, nothing created: `no_products`, `not_sent_when_sold` (a form asked at bookings), `sale_form_not_found`, `invalid_expiry`.
create_bundle
Create a named provider / schedule (Pro plans only). `name` is the internal label; `display_name` + `bio` are what customers see in the provider picker. ⚠ **Its booking rules are its own.** `max_concurrent_clients`, `buffer_minutes`, `min_advance_hours` and `slot_interval_minutes` are this provider's clients at a time, time between appointments, minimum notice and start-time spacing, and its bookings use them instead of the business's. A field left out does NOT take the business's value: a new provider starts at 1 client at a time, 0 minutes between appointments, 0 hours' notice and a start every 30 minutes. Send all four: the business's own values from get_business_settings, unless the person wants this provider's different. `slot_interval_minutes` is 15, 30 or 60. `hours` is the full weekly schedule (REPLACE-ALL): `[{day_of_week: 0-6, start_time: "HH:MM", end_time: "HH:MM"}, ...]`, one block of hours per day: two for one day are refused with `day_has_hours`, and a weekly lunch break can't be set. After creating, assign products with set_provider_products. On a non-Pro plan this returns `pro_required`. Returns the created provider. **Notifications.** `notify_on_booking` is ONE switch covering BOTH channels, and it sends new bookings, cancellations AND reschedules. `notify_emails` and `notify_phones` are lists (up to 5 each); a channel you leave empty is simply silent, so email-only and text-only are both normal setups. Turning the switch on with neither list populated notifies nobody — if someone asks for notifications, ask WHERE before creating. Phone numbers must be valid US numbers; an unparseable one is refused (`invalid_phone`) rather than saved, and more than 5 in either list is `too_many_recipients`. ⚠ These reach a PROVIDER, not a customer, and they carry customer names and appointment times. Confirm a number belongs to the practitioner before adding it — a typo sends someone's appointment details to a stranger.
create_provider
Create any product: a bookable service, a class, an add-on, or a retail or member-only product. Returns the created product. For a normal service, give `name`, `duration_minutes` (>0) and `price`. The rest is optional: - `description`; `category_id` (see create_product_category); `color`, a `#RRGGBB` hex; `icon`, a Material Symbols name such as "spa". - `is_active` (default true). `show_in_booking=false` keeps it off the booking page; staff can still book it. - `is_discountable=false` opts it out of member discounts; `tip_enabled=true` asks for a tip on the card reader; `creditable=false` stops the front desk selling it as a credit. - `schedule_ids` — the providers or rooms that offer it (list_providers). None means business hours. - `booking_window_start` / `booking_window_end` (`HH:MM`) — which start times customers may pick. - A group booking: `max_party_size` (the customer picks 1..N) OR `fixed_party_size` (always N) — total people, the booker included — and `additional_seat_price` for each seat after the first, which is REQUIRED with a group size: ask the person what each extra person pays, and send 0 only if they say the extra people are free. Never more people than its schedules seat at once. A CLASS can take a group too ("bring a friend"), with `max_party_size` only, bounded by its `class_capacity`: a larger one is lowered to the capacity and the response's `notes` says so (tell the person). A class never takes `fixed_party_size` (refused `fixed_party_on_class`). - **Each person on their own named schedule** (a couples massage: two people, two staff, one booking, the same start time): `seats_on_separate_schedules=true` with `fixed_party_size` (2 or more, the booker included; never `max_party_size`), `additional_seat_price`, and `schedule_ids` naming at least that many named schedules (list_providers), one for each person. Two people never share a schedule, however many it seats at once. Only on an appointment service; Pro, and not on Growth. Ask the person how many people and which named schedules; never pick them. - Exclusive use (space rental): `blocks_other_bookings=true` closes the schedule it is booked on while it runs; `allow_general_schedule=true` lets it also be booked on business hours. - **Member-only**: `is_member=true` with `membership_tier_ids` (see list_memberships). Its price is 0 — it is included in the tier. The tiers may come later: a member-only product can be created (and active) with none, usually before the membership exists — but nobody can book it until a tier is linked, so tell the person that. A member-only CLASS follows a class (`follows_class_id`, below). - **Retail**: `is_retail=true` (no duration), `sku`, `inventory_qty` (stock; leave it out for untracked). - **An add-on** — an extra attached to a service when it is booked, like hot stones on a massage: `is_addon=true`, `duration_minutes` the time it adds (0 is fine), `main_option_ids` the services that offer it. Who performs it follows those services: send `schedule_ids` with them to say which of their providers do (ask the person), or leave `schedule_ids` out and everyone who does those services does. A service on business hours takes any add-on. A service names its add-ons with `addon_option_ids`; a new one that none of the service's providers perform is given them. - `tax_code` — its tax category, one of list_tax_codes. **While the business collects sales tax, an active product needs a tax category** — without one it would sell tax-free. Refused with `tax_code_required`; nothing is created. Ask the person which category fits (list_tax_codes), or use "Not taxable" (`txcd_00000000`) for something they don't collect tax on. Exempt: member-only products (their tax is on the membership tier), retail (defaults to the retail code) and `is_active=false` (it can wait, but activating it later asks the same question). **A class** is a group session at fixed times where people book seats: set `is_class=true`, `class_capacity` (seats in EACH session), optionally `class_instructor` (the name shown on the booking page), and `class_blocks`, its schedule. `class_blocks` is a list; each block is ONE of: - picked dates — `{"repeat": false, "schedule_id": null, "sessions": [{"date": "YYYY-MM-DD", "start_time": "HH:MM"}, ...]}`. Every date has its own time(s); list a date twice for two sessions that day. - a repeat — `{"repeat": true, "start_date": "YYYY-MM-DD", "end_date": null, "weekdays": [0, 2], "start_times": ["09:00", "18:00"], "schedule_id": null}`. `weekdays` are 0=Monday … 6=Sunday; every checked weekday gets ALL of `start_times` (up to 12); `end_date` null means it keeps running. `schedule_id` is the provider or room the class runs on (see list_providers), null for business hours; use a second block for a different one. Dates before today are ignored. A booked session can never be removed by a later edit (`has_bookings` — see update_product). A class takes no `schedule_ids`: each block carries its own. `class_blocks_appointments` (default true) stops appointments being booked during its sessions. **A class included in a membership** is a members-only class that FOLLOWS the class: `is_class=true`, `is_member=true`, `membership_tier_ids`, and `follows_class_id` = the class's `id` (list_products). Members book it and land in that class's own sessions, taking the same seats as everyone else, so the room is never sold twice. It has no dates and no seats of its own: send no `class_blocks`. Its name becomes "Member: {class}", and its `description`, `duration_minutes`, `class_capacity`, `category_id` and `class_instructor` are the class's, kept in step whenever the class is saved: send none of those, or only the class's own values. A member pays nothing; its `additional_seat_price` is what each guest a member brings pays. If the person has not named the class, ask the person which class it follows; never pick one. Once followed, the class stays an active class open to everyone: making it members-only, `is_class=false` or `is_active=false` on it is refused with `has_following_classes` until its member classes are unlinked or deleted. Refused, with nothing created — tell the person what to change: `follows_class_required` (a members-only class with no class to follow and no dates of its own: ask which class it follows), `follows_a_class` (`class_blocks`, or a different value for one of the class's fields, sent with `follows_class_id`), `follows_unknown_class` (no such class), `follows_not_a_public_class` (it is members-only, or not a class), `follows_a_following_class` (it follows a class itself: follow that one), `not_a_members_only_class` (`follows_class_id` on a product that is not a members-only class), `tax_code_required` (above), `invalid_tax_code`, `invalid_color` (not a `#RRGGBB` hex), `unknown_schedule`, `schedules_not_applicable` (`schedule_ids` on a class or retail item), `party_exceeds_capacity` / `party_size_conflict` / `invalid_party_size`, `seat_price_required` (a group size with no `additional_seat_price`), `fixed_party_on_class` (a class with `fixed_party_size`), `separate_schedules_too_few` (fewer `schedule_ids` than people: the message says how many it needs), `separate_schedules_need_fixed_party` (no `fixed_party_size` of 2 or more, or a `max_party_size` instead), `separate_schedules_not_applicable` (on a class, a retail item, an add-on or `blocks_other_bookings`), `separate_schedules_not_on_growth`, `separate_schedules_needs_pro`, `unknown_membership_tier` (not one of its tiers, or retired or switched off), `class_capacity_required`, `no_performer` (the add-on's `schedule_ids` leave one of its services nobody to perform it with — the message names the service), `unknown_performer` (a provider that is not one of the service's), `not_an_addon` / `main_is_addon` / `main_is_retail` / `main_is_class` / `main_is_party` (add-ons attach only to an ordinary service), `addon_retail_conflict` / `addon_class_conflict`, `category_not_found`.
create_product
Add one day's open hours to the weekly schedule. `day_of_week` is 0=Monday … 6=Sunday. `start_time` / `end_time` are `HH:MM` (24-hour); end must be after start. ⚠ A day holds one block of hours: a day that already has hours is refused with `day_has_hours` (its block comes back as `existing`), and nothing is saved. To CHANGE a day's hours, read them first with get_business_hours, remove_business_hours that day's row, then add the new one — there is no bulk replace. A weekly lunch break can't be set: say so. A gap on one date (lunch on Friday, an early close) is add_time_block. Returns the created row with its `id`.
add_business_hours
Close PART of a day — an early close or a mid-day gap — on selected columns. Use this for "close at 3pm today" or "block 12-1 for lunch on Friday" — NOT a whole-day closure (use add_blackout_date) and NOT a recurring one (add_custom_holiday). `date` is `YYYY-MM-DD`; `start_time`/`end_time` are `HH:MM` (24-hour, end after start) and mark the CLOSED window — to close a provider who normally works until 6pm at 3pm, block `15:00`-`18:00`. The block must cover at least one column: - to close specific providers, pass their `schedule_ids` (see list_providers); - set `covers_global=true` to also cover the General/unscheduled column; - a business with no named providers closes with `covers_global=true` alone. Existing bookings in the window are NOT cancelled — they come back in `conflicts` as a heads-up. `reason` is an optional note (<=120 chars). Returns the created block (with its `id`) + `conflicts`.
add_time_block
Create a confirmed booking for a customer. ⚠ **Confirm with the person before booking.** Read back the service, date, time and customer, and book only after a clear yes. The customer is emailed the business's booking confirmation. It never takes a payment or charges a card. The customer is the business's own: one already on file, or a new one from a name and an email or phone, which go on the business's own customer record. Ask for nothing more than booking needs. `session_option_id` is the product (see list_products). `date` is `YYYY-MM-DD`, `start_time` is `HH:MM` — use check_availability first to pick an open slot (with the same `party_size`). Provide at least one of `email` / `phone`. `schedule_id` books a specific provider (see list_providers) for a multi-provider product; omit otherwise. **A group** ("me and two friends") is ONE booking: `party_size` is the TOTAL number of people, the booker included (3 for the booker plus two friends), and `guest_names` the first names of the others, one each, if the person gave them (optional; the booker can share a link for the guests to add their details). Only a product whose `max_party_size` (up to N) or `fixed_party_size` (always N) is set takes a group — a class can too. The server prices every seat (the product's `price` for the first, `additional_seat_price` for each after); never add it up yourself. Refused `party_too_large` above the product's maximum, `party_not_allowed` on a one-person product, and `class_full` / `conflict` when the time has too few places left for everyone. **Each person on their own named schedule** (a product with `seats_on_separate_schedules` in list_products, a couples massage): one booking for its `fixed_party_size` people, each with their own staff member at the same time. Send `guest_names` for the others and `schedule_ids`, one choice per person in seat order, the booker first: a named schedule's id (from the product's schedules, list_providers) or `any` for Next available. Left out, everyone is Next available. When the product's `ask_each_person` is true, ask the person who they would like for each person, or whether anyone will do; never pick for them. When it is false (as many named schedules as people), every one of them is used, so ask nobody and leave `schedule_ids` out unless the person says who goes with whom. check_availability takes the same `schedule_ids`. Refused `provider_picked_twice` (one named schedule for two people), `invalid_provider`, and `conflict` when that many named schedules are not free together then. The booking's `guests` carry each other person's `schedule_id` and `provider_name`. **A class included in a membership** has two products: the class, and the members-only class that follows it ("Member: {class}"; its `follows_class_id` in list_products is the class's id). Book a member through the "Member:" product, anyone else through the class, at the class's date and time either way. Both take the same seats, so `class_full` means full for both. `location_id` (see list_locations) says which LOCATION's class to book, for a business with several locations. Each location's class has its own seats. Omit it when the class meets at only one location at that time; when it meets at more than one, the call is refused `location_required` — ask the person which location, then call again with it. `addon_option_ids` attaches EXTRAS to the appointment — the ids come from the chosen product's own `addons` list in list_products, never from the product list at large. Each one adds its price and its minutes to this ONE booking; the server does the pricing, so never sum it yourself. Two things follow that are easy to miss: * the appointment gets LONGER, so call check_availability with the same `addon_option_ids`: it then offers only times the whole booking fits, and a time picked without them may be refused `conflict`; * some add-ons are only performed by some providers. Leave `schedule_id` off and the server picks a provider who can do all of them. `use_bundle=True` spends ONE session of a prepaid pass the customer holds (or shares) for this service, and books the service at $0 (add-ons still at their price). Only for one person: a group says what covers each seat with `seat_covers` instead. Ask the person before using it, the same as staff tick the box. The booking comes back with `price` 0 for the service when a session was spent; the normal price means no pass covered it. Omit it and no pass is touched. It never spends one on a members-only service the customer's membership includes: the membership covers that visit at $0, so the pack is left alone. ⚠ It spends a pack even past its expiry date (staff may still honour one; a live pack is used first). A customer's packs carry `expired` and `expiry_label` (get_customer_overview): when the pack has expired, tell the person the date it expired before booking with it. **What covers each seat of a group** (`seat_covers`), from the customer being booked: `[{"seat": 2, "cover": "plan_mate", "customer_id": 12}, {"seat": 3, "cover": "friend_pass"}]`. Seat 1 is that customer, and only their own pack covers it (`pack`). Each other seat may be covered by their `pack`, a `friend_pass` (one of their plan's bring-a-friend passes), or `plan_mate` (a person on their plan, by that person's `customer_id`, on a members-only service the plan includes; that seat becomes that person and they are emailed). A seat left out is paid; the server prices every seat. Read get_seat_cover_options first for what the customer has. ⚠ Ask the customer which seat uses what, and never pick for them. A pass, or a visit used for another seat, counts toward the appointment's month: when that is not this month, say so ("this uses one of your December passes"). A booking with any seat covered takes no promo code. Refused, nothing booked: `pack_unavailable`, `pass_unavailable`, `visit_unavailable` (none left that month), `not_on_friend_list` (a pass does not cover this service), `not_on_plan`, `not_members_only`, `plan_mate_twice` (that person already has a seat), `not_a_guest` (a pass on someone on the plan), `booker_seat` (seat 1 can only use their own pack), `booker_member` (their membership already covers seat 1, so no pack goes on it), `no_such_seat`, `seat_twice`, `unknown_cover`. Returns the created booking — `price` and `duration_minutes` are the combined totals, `main_price` / `main_duration_minutes` the main service's share, and `addons` itemizes the extras — or an `error`: `conflict` (slot taken), `class_full`, `no_occurrence` (time isn't a class meeting time), `invalid_provider`, `addon_not_offered` (that extra isn't offered with this service), `addon_wrong_provider`, `addon_no_provider` (no one provider does all the chosen extras — offer fewer, or book them separately), or `addon_not_bookable` (`session_option_id` is itself an add-on: attach it to a real service instead), `location_required` / `invalid_location` (a class — see `location_id`).
create_booking
Cancel a booking. Frees the slot, credits a bundle session back if the booking used one, and emails the customer a cancellation notice. On a group, each guest seat's cover goes back too: the pack session, the bring-a-friend pass, the plan's visit. Returns the updated booking; errors if it's already cancelled. (This does not charge a no-show/late-cancel fee — money actions stay off-limits to the assistant.) Refused, changing nothing: `checked_out` (the visit is already paid at the front desk; it has to be refunded there instead, so tell the person) and `checked_in` (the customer is here; staff undo the check-in first). A cancel inside the business's cancellation window is flagged for the late-cancel fee, which staff decide whether to charge.
cancel_booking
Update the business's booking settings. Send only what you're changing. `timezone` is an IANA name (e.g. `America/Denver`) and MUST be set correctly or same-day slots won't appear. `slot_interval_minutes` is how far apart start times are; `buffer_minutes` is padding between appointments; `max_concurrent_clients` is how many can be booked in the same slot; `min_advance_hours` / `max_advance_days` bound how soon / far out customers can book; `cancellation_window_hours` is the cutoff for self-cancel; `auto_confirm` true confirms each online booking at once, false makes it wait for the owner's approval. Before saving false, tell the person what their customers then see: the page after booking says "Your request is in!" and that the business will confirm soon, and the email says the same, with no cancel link; it gets no reminder until it is confirmed; its time stays held, and nothing confirms or cancels it on its own. They confirm each one on the dashboard, or ask you (confirm_booking). `email_reminder_hour` is the 0-23 hour reminders go out; `sms_reminder_lead_hours` (1-168) is how long before the appointment the SMS reminder fires; `reply_to_email` is where customer replies go; `enable_memberships_and_bundles` is the ONE toggle that turns both memberships and bundles on or off together (they share a single switch in the product); `require_address_at_booking` collects a service address (for mobile/on-site businesses). Returns the full updated settings. On Growth, scheduling fields apply to the current default location. A single service's own extra reminders, at times of its own, are set with set_product_reminders.
update_business_settings
Change the online shop's shop-wide settings. Send only what you're changing. `sell_online` is the business's "Sell online" switch: true puts the shop where customers can buy, false takes it down (anything already bought is untouched). `note` is one short note shown at the top of the shop and on every payment screen, e.g. "Payments already processed are non-refundable." (1,000 characters at most); `clear=["note"]` removes it. Gift cards: `gift_cards_enabled` sells them online. `gift_card_amounts` is the preset amounts in cents, REPLACE-ALL (the list you send becomes the whole list; 1 to 6 amounts, e.g. `[2500, 5000, 10000]` for $25, $50 and $100). `gift_card_custom` lets a customer type their own amount, between `gift_card_min_cents` and `gift_card_max_cents`. Every amount is in cents, between $1 and $10,000. ⚠ **Ask the person before turning the shop on or off.** On, the business's customers can buy whatever is listed (see get_online_shop for what that is, and say it); off, nobody can. Turning it on is refused with `connect_required` until the business has connected Stripe to take payments: tell them to do that on the dashboard (Manage, Processing), never retry. Turning it off is always allowed. Refused, nothing changed: `connect_required`, `note_too_long`, `no_amounts`, `invalid_amount`, `too_many_amounts`, `invalid_range` (the smallest typed amount must be below the largest), `invalid_switch`, `clear_conflict` (a note both sent and named in `clear`). Returns the whole setup, as get_online_shop does.
update_online_shop
Change a custom follow-up, or switch it on or off. `followup_id` is its `id` from list_custom_followups. Send only what you are changing. **Ask the person before switching one on (`enabled=true`).** From then on it emails their customers on its own, as each one qualifies; nothing from before the switch-on starts it. Switching it off stops everyone in it at once and is never refused. It keeps what starts it: to start from something else, make a new one. Its start's settings change: `lapse_days` and `use_rhythm` on a 'lapse' one, `pack_sessions_left` on a 'pack_low' one (create_custom_followup says what each means). `service_ids` (a 'visit' one's) replaces the list. `steps` replaces the list too, so send every step, in order, a branch with its `yes` and `no`: each one that stays with its `id` (from list_custom_followups), a new one without. Its shape and rules are create_custom_followup's. While it is on, a change reaches everyone already in it: their next step is timed again by the new waits, and anyone waiting on a step you removed moves on to the next one. Show the change and save only after a clear yes. As there, never a checkout link (`/shop/order/…`) in an email: for a membership or package, its `link` from get_online_shop. Refused `invalid_followup` with `errors`, a sentence per field; nothing is saved, the switch included. `pro_required` when the business is not on Pro (except switching off). `not_found` for an id that is not one of its custom follow-ups. Returns it as list_custom_followups lists it.
update_custom_followup
Update the business name + branding. Send only what you're changing. `secondary_color` is the background: behind the booking pages, the online shop, the customer account pages, the Business Page and the check-in kiosk. Light or dark is worked out from it, and text, borders and cards follow so everything stays readable. `clear=["secondary_color"]` removes it: a light page, the default. A color both sent and named in `clear` is refused `clear_conflict`. `primary_color` is the accent: buttons, links, prices and highlights on those pages, and the headings and buttons of the business's emails (which stay light whatever the background). Where it would not read on the background it is darkened or lightened just enough; an accent that already reads keeps its exact hex. Both colors are hex like `#4a7c59`. `font_family` reaches those pages and the kiosk; `font_weight` (300/400/500/600/ 700) is the mobile app's only. The slug, custom domain, plan, and Stripe fields are NOT editable here. Returns the updated business info.
update_business_info
Check a customer in for their appointment (marks them arrived). Only a confirmed booking can be checked in. A GROUP booking (party_size > 1) is checked in as the whole party: the booker and every guest seat in `guests`. A seat already checked in keeps its original time. Returns the updated booking. This does NOT take payment — checkout/charging is intentionally unavailable. A booking marked a no-show (`is_no_show`) is refused (`no_show`): if they turned up late after all, call `undo_no_show` first, then check them in.
check_in_booking
Open time slots for a product on a given date (`YYYY-MM-DD`). Returns `slots` (`[{time, remaining, show_warning}]`, taken slots omitted). For a multi-provider product pass `schedule_id` to check one provider (see list_providers); without it, a time is open when any of its providers is free, the way create_booking books it with no `schedule_id`. For a class product the response also carries `class_occurrences` with per-occurrence seats left and capacity. An empty `slots` list means nothing is open that day (closed, blacked out, or fully booked). For a GROUP, pass `party_size` (the total, the booker included): only times with room for everyone come back, the same number create_booking will take. With ADD-ONS, pass `addon_option_ids`, the same list create_booking will take (ids from the product's `addons` in list_products): add-ons make the booking longer, and only times the whole booking fits come back. Refused `addon_not_offered` for an add-on this product does not offer. A members-only class that follows a class (`follows_class_id` in list_products) answers with that class's times, and its seats left are the class's: members and everyone else share them. A product that books each person on their own named schedule (`seats_on_separate_schedules` in list_products, a couples massage: its `fixed_party_size` people, each with their own staff member at the same time) is open at a time only when that many of its named schedules are free together. `party_size` means nothing to it. Pass `schedule_ids` for the people who asked for someone, in seat order, each a named schedule's id (list_providers) or `any`; left out, everyone is Next available. `remaining` counts how many more such bookings fit then. Refused `provider_picked_twice` (one schedule for two people) or `invalid_provider`.
check_availability
Close the business (or specific providers) on a single calendar date. `date` is `YYYY-MM-DD`. By default (`covers_all=true`) the whole business is closed that day. To close only certain providers, pass `covers_all=false` with their `schedule_ids` (see list_providers), optionally `covers_global=true` to also cover the general/unscheduled column. For a holiday that recurs every year, use set_observed_holidays or add_custom_holiday instead. Returns the created blackout with its `id`.
add_blackout_date
Confirm a pending booking and email the customer a confirmation. Use this for a booking still in a `pending` state (e.g. awaiting manual approval). Returns the updated booking; errors if it's already confirmed.
confirm_booking
Create a form customers fill in and sign: a waiver, a consent or an intake form. Customers are then asked for it in their booking confirmation email, at the kiosk and at the Front Desk (a `when_sold` form: by email after a sale only). Requires a `read_write` key. ⚠ **Show the person the whole form and save only after a clear yes.** `body` is what customers agree to. When the person gives you the wording, use it as given. You may draft it when asked: show the full text, say that a waiver or consent should be checked by whoever handles the business's legal documents, and save only after a clear yes. What customers answer never comes back to you: get_form_submission refuses a form's answers (`form_answers_not_permitted`), and they stay on the business's dashboard. You write the form's wording; you never collect or read the answers. ⚠ **Ask who it is for and how often; never guess.** `trigger`: `all_customers` (everyone who books), `product` (only customers booking the services in `session_option_ids`, ids from list_products) or `when_sold` (emailed to whoever buys a membership tier, pack or combo that names it). A `when_sold` form is never asked at a booking, takes no services and is signed once per customer, so `session_option_ids` and `cadence` are ignored. It goes out only once a tier or pack names it: create_membership / update_membership / create_bundle's `sale_form_id` (a combo's is set on the dashboard). `cadence`: `once` (signed once, ever), `per_visit` (at every booking) or `annual` (once a year). `form_type`: `waiver` or `consent` (both need `body`), or `intake` (`body` and/or `questions`). `questions` is a list of `{type, label, required, options}`: `type` is `text`, `textarea`, `checkbox` (one yes box), `date`, `radio` (pick one), `select` (a dropdown, pick one) or `checklist` (a box per choice, tick any; required = at least one; its answer is a list), and those three need `options`, the list of choices; or `body_chart` (a front/back figure the customer marks; at most one). The signing date is added automatically; `requires_signature` (on unless set false) adds a signature. `copy_to_email` is one address that is emailed the signed PDF each time a customer fills the form out, e.g. the therapist who reads an intake. The PDF carries their answers, so ⚠ Ask the person for the address and use it as given; never guess one or reuse another address. Leave it out for no copy. Returns the form (`id`, `body`, `questions`, `trigger`, `session_option_ids`, `cadence`, `copy_to_email`, `version`). Refused, nothing saved (`problems` lists every one): `name_required`, `name_too_long`, `invalid_form_type`, `body_required`, `questions_required`, `invalid_questions`, `invalid_trigger`, `invalid_cadence`, `services_required` (a `product` form with no service of this business), `invalid_copy_to_email` (not one email address).
create_form
Create a discount code the business's customers can redeem. `code` is the text customers type (stored uppercase, e.g. "WELCOME15"). `kind` is 'percent', 'amount' or 'price': for 'percent' set `percent_off` (1-100); for 'amount' set `amount_off_cents` (in CENTS, e.g. 2000 = $20 off); for 'price' set `price_cents` (what each discounted person PAYS, in cents; 0 is allowed). `max_redemptions` caps total uses (omit = unlimited); `max_per_customer` caps uses per customer (default 1). A booking counts as ONE use however many people it discounts. **Two types of code — ask which the person wants.** * An ORDINARY code (leave `purpose` out): anyone can type it, while booking or at the front desk, until its end date. `valid_until` is REQUIRED, an ISO date 'YYYY-MM-DD'. * A RETENTION code (`purpose='retention'`): made for the emails that bring customers back. It works only for a customer it was emailed to, for `valid_days_after_send` days (1-365) from the day their email went, each customer on their own window, so it has NO end date: send no `valid_until`. Anyone else typing it is refused. It is the only kind an automation's email carries; an Outreach campaign or `send_offer_email` can carry either. It has no share link and never goes on a booking-page announcement. The type never changes once the code is made: to switch, make a new code. Refused `missing_expiry` (an ordinary code without `valid_until`), `retention_has_no_end_date`, `invalid_days_after_send`, `not_a_retention_code` (days on an ordinary code). **Who gets the discount.** Leave `seat_rule` out for a whole booking code: the percent comes off everyone, and an amount comes off once per checkout. For a deal on SOME of the people in a booking (a group booked together, or several services in one checkout at the front desk): * `seat_rule='seats'` + `get_seats=N` — up to N people get the discount; * `seat_rule='buy_get'` + `buy_seats=X` + `get_seats=Y` — for every X people who pay full price, the next Y get the discount, repeating across the group; `max_repeats` caps how many times (omit = no cap). The cheapest people always get the discount. An amount on a deal comes off each discounted person. A deal the group is too small for does nothing (buy 1 get 1 for one person). **Recipes — what the person asks for, and exactly what to send:** * "buy 1 get 1 free": kind='percent', percent_off=100, seat_rule='buy_get', buy_seats=1, get_seats=1 * "buy 1 get 1 half off": kind='percent', percent_off=50, seat_rule='buy_get', buy_seats=1, get_seats=1 * "buy 1 get 1 $10 off": kind='amount', amount_off_cents=1000, seat_rule='buy_get', buy_seats=1, get_seats=1 * "buy 1 get 1 for $10": kind='price', price_cents=1000, seat_rule='buy_get', buy_seats=1, get_seats=1 * "buy 2 get 1 free": kind='percent', percent_off=100, seat_rule='buy_get', buy_seats=2, get_seats=1 * "$20 per person": kind='price', price_cents=2000 * "a friend comes free": kind='percent', percent_off=100, seat_rule='buy_get', buy_seats=1, get_seats=1, max_repeats=1 * "bring a friend at half price": kind='percent', percent_off=50, seat_rule='buy_get', buy_seats=1, get_seats=1, max_repeats=1 * "50% off one person" (whoever is booking, no friend needed): kind='percent', percent_off=50, seat_rule='seats', get_seats=1 * "once per booking" on any buy-get deal: add max_repeats=1 (else four people on buy 1 get 1 is two free) ⚠ A FRIEND deal is buy-get, never seat_rule='seats': 'seats' discounts a person booking ALONE too, so "a friend free" built that way makes a solo booking free. * "20% off" / "$15 off": kind='percent', percent_off=20 / kind='amount', amount_off_cents=1500, no seat fields The returned code carries `label`, the code in words ("Buy 1, get 1 free"): read it back to the person to confirm it is what they meant. Its `id` is what draft_campaign, send_offer_email and create_announcement take as `promo_code_id`. Refused `invalid_price`, `invalid_seat_rule`, `invalid_seat_count` (no or zero `get_seats`), `invalid_buy_count`, `invalid_max_repeats` when a field is missing or below 1. Optionally scope the code to specific services (`product_ids`) and/or categories (`category_ids`) — leave both empty to apply to any service (a member-only service never takes a code; a service's "Eligible for member discount" setting does not affect codes). A code never stacks with a membership discount (the better one wins, person by person). The AI never charges anyone: the code just exists for customers to redeem at the front desk or when booking. Returns the created code.
create_promo_code
Delete a DRAFT campaign the owner decided not to send (Pro, `read_write` key). **Ask the person you are working with first.** Call it WITHOUT `confirm` to see which campaign would go; show that to them, get a clear yes, THEN call again with `confirm=true`. Nothing is deleted on the first call — a draft can represent real work someone put into the audience and copy. A campaign that has already sent is kept for its history (`already_sent`).
delete_campaign
Delete a product category. **Ask the person you are working with first.** Call it WITHOUT `confirm` to see which category would go; show that to them, get a clear yes, THEN call again with `confirm=true`. Nothing is deleted on the first call. Its products are NOT deleted — they become uncategorized. Returns `{deleted: true}` once confirmed.
delete_product_category
Permanently delete a custom follow-up, with who is in it and what it was doing. **Ask the person first, and there is no undo.** Call it WITHOUT `confirm` to see which follow-up would go; show that to them, get a clear yes, THEN call again with `confirm=true`. Nothing is deleted on the first call. The emails it already sent stay in the business's email history. ⚠ To stop it for now, switch it off instead with update_custom_followup(enabled=false), which keeps its wording.
delete_custom_followup
Delete a membership tier. **Ask the person you are working with first.** Call it WITHOUT `confirm` to see exactly what would be removed — the tier's name, price, and the services it includes with their per-month limits. Show that to them, get a clear yes, THEN call again with `confirm=true`. Nothing is deleted on the first call. Refused (`in_use`) while any customer is on it, paused memberships included — a tier someone is paying for can never be deleted, nor switched off. They must be moved to another membership (or cancelled) first, from each customer's profile on the dashboard. Deleting it takes it off the member-only services it included: one left with no tier stays on sale but nobody can book it until another tier is linked — say so. Returns `{deleted: true}` once confirmed.
delete_membership
Delete a bundle definition. **Ask the person you are working with first.** Call it WITHOUT `confirm` to see what would be removed; show that to them, get a clear yes, THEN call again with `confirm=true`. Nothing is deleted on the first call. Refused (`in_use`) while customers still have sessions remaining — a pack people have paid into can never be deleted, only taken off sale (update_bundle's `is_active=false`; they keep and can use what they hold). Returns `{deleted: true}` once confirmed.
delete_bundle
Delete a promo code that has NEVER been redeemed. **Ask the person you are working with first.** Call it WITHOUT `confirm` to see which code would go; show that to them, get a clear yes, THEN call again with `confirm=true`. Nothing is deleted on the first call. ⚠ A code may already be printed on a card, in an email, or on a sign, so deleting one can strand a customer holding it. A code that has already been used can't be deleted (the redemption history is kept) — deactivate it with `update_promo_code(is_active=false)` instead. Returns `{deleted: true}` once confirmed.
delete_promo_code
Delete a product for good. **Ask the person you are working with first.** Deleting is **permanent**: the product disappears from every list and can never be reactivated. Its past bookings, sales and reports keep it. To take a product off sale for now, set `is_active=false` with update_product instead. Call it WITHOUT `confirm` first. Nothing is deleted; it returns what the delete would do: * `blocked_by` — what has to change first, each with a `message` saying what to do. A live **bundle** that uses the product (move that bundle to another bundle it applies to, or remove the product from a bundle that only lists it), a **combo** with a bundle in it that uses the product, a **credit** customers still hold unused, or a **members-only class that follows** this class (unlink or delete it first). While this is not empty the delete is refused (`in_use`) — tell the person what to do. * `upcoming` — every upcoming appointment that carries the product (as its service or as an add-on), with its date and time. These **stay on the calendar** if the delete goes ahead; read them to the person, since they may want to cancel, move or change them first. * `booked_sessions` — for a **class**: its upcoming sessions people are booked on (`date`, `start_time`, `seats`). Deleting a class removes every upcoming session nobody is booked on; these booked ones STAY on the calendar, unless you call with `cancel_bookings=true`, which cancels those bookings and tells the people booked. Read them out and ask the person which they want — never cancel bookings they did not ask to cancel. Show that to them, get a clear yes, THEN call again with `confirm=true` (and `cancel_bookings=true` only if they chose it). Returns `{deleted: true, kept_sessions, bookings_cancelled}`.
delete_product
DRAFT an email campaign to a group of customers (Pro, `read_write` key). This does NOT send anything. Choose the audience ONE of two ways: - a **segment**: `audience_type` (a key from `list_campaign_audiences`) + `params` (e.g. `{"lapsed_days": 60}`), or - a **hand-picked list** (the free-form path): `customer_ids`, a list of ids you assembled yourself by reasoning over the report tools (`suggest_fill_campaign` / `find_customers_by_activity` / `analyze_customer_book` / `analyze_no_shows` / `list_customers`). Use this when the owner asks for a specific, ad-hoc audience that no single segment captures (e.g. "float regulars who've never tried the hyperbaric chamber and haven't been in for 60 days"): gather the ids from the reports, then pass them here. A `customer_ids` list wins over `audience_type`. This is step one of two. It saves a campaign as a draft and returns `{id, recipients, status: "draft"}` (recipients = how many WOULD receive it — unsubscribed and no-email customers are dropped). NOTHING is emailed until you separately call `send_draft_campaign(id)`. IMPORTANT: before you send, show the business owner the drafted subject + message and exactly who it will reach (use `review_campaign(id)`), and get their approval. Do not send to real customers on your own initiative. The two-step split exists so a human approves the content and audience first. `subject` is required; `message` is a short friendly note; optionally attach a `promo_code_id` so each email carries a "Book now" button that pre-applies the code (mint one with `create_promo_code` first). It moves no money (a code only discounts when the customer books). **The wording.** `{{first_name}}` in the `subject` or `message` becomes each customer's own first name (a blank one reads "there"). It is the only placeholder: any other `{{…}}` is refused `unknown_placeholder`, naming it. ⚠ Never put a checkout link (`/shop/order/…`, the page tapping Buy on the shop opens) in the message: it is ONE customer's order, nobody else can use it, and it closes after a day, so it is refused `order_link` (the refusal names the item's own link). To send people to a membership or package, put its `link` from get_online_shop in the message: the item's own page, the same for everyone. **A shop item.** `shop_item_kind` + `shop_item_id` (an item's `kind` and `id` from get_online_shop, both or neither) attach ONE membership, package or combo: every email then carries a Buy box under the message, the item's name, its price and a Buy now (Join now for a membership) button to the item's own page, where each customer starts their own order and pays; list_campaigns counts what it sold. An email carries a promo code or a shop item, not both: refused `code_and_shop_item`. Refused `unknown_shop_item` for an item the business cannot link to (another business's, deleted, a credit, a combo's part). An item off sale today drafts, but the send is refused until it is back on sale.
draft_campaign
Copy a product, to make a near-twin of it — e.g. a member-only version of a service, or the same massage at another length. Then change what differs. The copy is named "Copy of {name}" and is created **inactive** (nothing can book or buy it yet), right after the original. It takes every field, the category, the schedules/providers and the add-ons. It does NOT take: any **membership tier** link (a member-only copy is linked to none until the person links one on the dashboard), a class's dates, a retail item's SKU or stock, or any bundle or promo code. Link a tier with update_product's `membership_tier_ids` only when the person names which. Next, call update_product on the returned `id` with what differs — usually `name` and `price` — and `is_active=true` once the person is happy with it. While the business collects sales tax the copy keeps the original's tax category, so activating it is not refused. Returns the copy. **A members-only version of a CLASS** follows the original: call update_product on the copy with `is_member=true` and `follows_class_id` = the original's `id`, and send no name, description, length, seats, category or instructor. It becomes "Member: {class}", meets in the original's sessions and takes the same seats. Then link its tier and set `is_active=true`.
duplicate_product
Edit a booking-page notice. Send only the fields you are changing. Set `is_active=false` to TURN ONE OFF — it keeps its text and its dates and can be switched back on, which is what the business wants for a notice that runs again next year. Prefer that over deleting. Passing `product_ids`/`category_ids` REPLACES that scope; pass `[]` to clear it back to "every service". The same timing rules as `create_announcement` apply and are re-checked against the whole row, so a change that is fine on its own can still be refused beside a field that did not move — e.g. adding `days_of_week` to a notice that runs on a single date. ⚠ Omitting a field leaves it alone; there is no way to CLEAR one through this tool. Returns the updated row.
update_announcement
Change a combo (see list_combos for ids and the current values). Send only what changes. Returns the combo. - `name`, `price`: a new price reaches only future sales; nobody who already bought it pays more or less. - `is_active`: the on/off switch. `false` takes it off the Front Desk and the shop; `true` puts it back. Customers keep what they bought either way. - `components`: REPLACES them all, in create_combo's shape. ⚠ A change to the contents never touches what customers already bought: their packs stay theirs, and only future sales get the new contents. Refused `in_use` while a sale is under way with this combo (a Front Desk sale, or an online order not finished); nothing changes then, and the message says which. Every other field still changes. Say so to the person rather than retrying. - `sale_form_id`: as on create_combo; `0` removes it. Ask the person first. - The expiry: as on create_combo. `remove_expiry=true` clears it (never expires). A change never reaches packs already sold. No tool deletes a combo: the owner does that on the dashboard (Combos tab), and customers keep what they bought. Refused, nothing changed: `empty_update`, `in_use`, and create_combo's refusals. A deleted combo, or another business's, is not found.
update_combo
Change a form. Ids and the current `body` and `questions` come from list_forms; send only what changes. Requires a `read_write` key. ⚠ **Show the person what will change and save only after a clear yes.** You may redraft the wording when asked: show the full new text, and say that a waiver or consent should be checked by whoever handles the business's legal documents. What customers answer never comes back to you: get_form_submission refuses a form's answers (`form_answers_not_permitted`), and they stay on the business's dashboard. A form a customer already signed never changes: they keep the copy they signed. A link still waiting to be signed keeps the OLD wording unless `update_waiting_links=true` moves it to the new one; when the wording changes, ask the person which they want. The reply's `updated_waiting_links` says how many moved. `questions` replaces ALL the questions (send the whole list; `[]` removes them). Customers see them in the order sent, so to reorder the questions, send the same list in the new order, after showing the person the new order. Giving any of `trigger` (`all_customers`, `product` or `when_sold`), `session_option_ids` or `cadence` replaces who the form is asked of and how often (see create_form); ask, never guess. A form moved off `when_sold` is still emailed by the tiers and packs that name it (list_forms' `sent_when_sold_by`) until their `sale_form_id` is removed. `copy_to_email` sets the one address that is emailed the signed PDF, with their answers, each time a customer fills the form out (see create_form); `clear=["copy_to_email"]` removes it. ⚠ Ask the person for the address; never guess one. It is not part of what customers sign, so it never changes the form's version. No tool archives or deletes a form: the owner does that on the Forms page. An archived form cannot be changed here (`form_archived`). Refused, nothing changed: `empty_update`, `form_archived`, `clear_conflict` (an address both sent and named in `clear`), and create_form's codes.
update_form
Change a membership agreement (see list_membership_agreements for ids and the current text). Send only what changes. ⚠ **Ask the person first, and use their own words.** `body` is the business's legal agreement; never change its wording on your own. It applies to memberships sold from now on. A customer's signed copy never changes, and a member keeps the minimum-term date they signed for, whether the term gets longer or shorter. `term_length` / `term_unit` change the minimum term (`day`, `week` or `month`, 1-120). `remove_term=true` removes it (no minimum term). `allow_email_signing` is explained on create_membership_agreement. There is no tool to remove an agreement: the owner does that on the dashboard (Memberships, Agreements tab), after moving its tiers to another agreement. Refused, nothing changed: `empty_update`, `name_required`, `name_too_long`, `body_required`, `term_incomplete`, `invalid_term_length`, `invalid_term_unit`.
update_membership_agreement
Change what a membership tier includes and how it works (see list_memberships for ids and the current values). Send only what changes. Returns the updated tier. ⚠ **The tier's name, price and tax category are the business's to change on the dashboard** — this tool cannot change them, and the server refuses them from an assistant (`field_not_permitted`). If someone asks, tell them where: Memberships in their dashboard. The billing interval can never change. What it can change: - `discount_pct` (0-100) — the discount members get on discountable services. It changes what a member pays at a visit, not what the membership bills. - `is_shared` + `max_members` (2-20) — a family / shared plan. - `is_active=false` switches the tier off: no one can join it and its member-only services leave the booking page. Ask the person before doing it. ⚠ Refused (`in_use`) while any customer is on the tier, paused memberships included — they must be moved to another membership (or cancelled) first, from each customer's profile on the dashboard. Tell the person that; never work around it. - `linked_product_ids` — the member-only services the tier includes. - `service_limits` — `{product_id: uses_per_month}`; a service not in it is unlimited. - `monthly_limits` — SHARED limits, one number over several services, e.g. 8 visits a month across a solo and a group version of one service: `[{"name": "Fire & Ice visits", "limit": 8, "product_ids": [20, 22]}]` (a single service is a list of one). The shape list_memberships returns: send an existing limit's `id` back to rename or renumber it in place; leave `id` out to make a new one. A service may be on ONE limit (`allowance_service_twice`). Use it OR `service_limits` in one call, never both (`limits_conflict`). - `hidden_products` — `[{covered_product_id, hidden_product_ids}]`, the public products members are not shown while an included service still has uses (create_membership explains it). - `friend_vouchers_per_month` + `friend_voucher_product_ids` — bring-a-friend passes. - `agreement_id` — the membership agreement new sales of this tier are signed under (an `id` from list_membership_agreements); `0` removes it. It applies to memberships sold from now on: members who already hold the tier are never asked to sign it. - `sale_form_id` — the form new sales of this tier email the buyer (an `id` from list_forms whose `trigger` is `when_sold`; create_membership explains it); `0` removes it. Ask the person first; never pick one for them. It applies to sales from now on: members who already hold the tier are never sent it (send_form emails one customer a form, after a clear yes). ⚠ **REPLACE-ALL**: `linked_product_ids`, `service_limits`, `monthly_limits`, `hidden_products` and `friend_voucher_product_ids` each become the WHOLE set. Read the tier first and send back what stays plus your change. ⚠ Above all the limits: a capped service you leave out becomes UNLIMITED — to change one cap, send every cap. `{}` / `[]` clears. Omit a field to leave it alone. Refused, nothing changed: `field_not_permitted` (name / price / tax category), `in_use` (`is_active=false` with customers on it — above), `unknown_product` (not a member-only product of the business, or for friend passes not an active bookable one), `invalid_discount_pct`, `invalid_max_members`, `invalid_limit`, `conflicting_limit` (two numbers for services that share one limit), `limits_conflict`, `allowance_service_twice` / `allowance_no_services` / `allowance_limit_required` / `invalid_monthly_limits` (monthly_limits), `not_linked` / `hidden_twice` (hidden_products), `invalid_friend_vouchers`, `unknown_agreement` (not one of the business's live agreements), `not_sent_when_sold` (a form asked at bookings, not one sent when sold), `sale_form_not_found` (not one of the business's live forms).
update_membership
Change a pack definition (see list_bundles for ids and the current values). Send only what changes. Returns the pack. - `session_option_ids`: the services it covers. REPLACES the whole set, so send every service that stays plus your change (list_bundles has the current set). ⚠ This reaches every customer who already holds the pack, at once: a service you take out is one they can no longer use it for, one you add they can. Ask the person first, and when a service comes out, say that customers who already hold the pack lose it too. - `name`: the pack's name, on packs customers already hold as well. - `is_active`: the on/off switch. `false` stops it being sold; customers keep what they bought and can still use it. `true` puts it back on sale. - `sale_form_id`: as on create_bundle; `0` removes it. Ask the person first; never pick one for them. It applies to sales from now on. - The expiry: as on create_bundle. `remove_expiry=true` clears it (never expires). A change never reaches packs already sold: each keeps the length and date it was sold with. Its price and its number of sessions are not changed here: a pack's count is its price. The owner changes either on the dashboard (the pack's Edit sheet); either sent from here is refused `field_not_permitted`. A combo's part is not a pack of its own: change it with update_combo. A credit is set up on the dashboard (Credits tab). Refused, nothing changed: `empty_update`, `not_a_bundle` (a combo's part or a credit), `no_products`, `unknown_product` (not one of the business's active bookable services), `invalid_expiry`, `sale_form_not_found`, `not_sent_when_sold`. A deleted pack, or another business's, is not found.
update_bundle
Edit a promo code. Send only the fields you're changing. Set `is_active=false` to DEACTIVATE a code (stop new redemptions while keeping its history) — prefer this over deleting a code that has been used. Passing `product_ids`/`category_ids` REPLACES that scope; pass `[]` to clear it back to whole-cart. `valid_until` is an ISO date, for an ordinary code; a retention code's `valid_days_after_send` (1-365) can change, and it never takes a `valid_until`. A code's type never changes: to switch, make a new code. Who gets the discount works as in create_promo_code (see its recipes): send `seat_rule`, `buy_seats`, `get_seats`, `max_repeats` to make a code a deal on some people, or change one count. To turn a deal back into a whole-booking code send seat_rule='none' (that clears its counts too). Changing `kind` needs its value: `percent_off`, `amount_off_cents` or `price_cents`. Read `label` on the returned code to confirm the change. Returns the updated code.
update_promo_code
Update a provider (see list_providers for ids). Send only what you're changing; `hours` is REPLACE-ALL when sent, one block of hours per day (two for one day are refused with `day_has_hours`). Location isn't editable here. Returns the updated provider. Its booking rules (`max_concurrent_clients`, `buffer_minutes`, `min_advance_hours`, `slot_interval_minutes`: 15, 30 or 60) are its own, and update_business_settings never changes them: when the person changes the business's rules, ask whether each provider should change too, and change it here. ⚠ `notify_emails` and `notify_phones` are REPLACE-ALL too — the list you send becomes the whole list. To ADD a recipient, read the current one with list_providers and send it back with the new entry appended; sending just the new address silently drops everyone else. Send `[]` to clear a channel (the provider then gets nothing on it, which is how you turn off texts while keeping email). Omit a list entirely to leave it untouched. `notify_on_booking` is one switch for both channels and covers cancellations and reschedules as well as new bookings. An invalid US phone number is refused (`invalid_phone`); more than 5 in a list is `too_many_recipients`.
update_provider
Update a product. Send only what you're changing (see list_products for ids). Every field create_product takes can be changed here, with the same meaning. Returns the updated product. ⚠ **Lowering a class's `class_capacity`** below the people already booked on an upcoming session is refused with `capacity_below_booked` and nothing changes; the refusal lists each session (`sessions`: date, time, how many booked, and in `cancel` the newest bookings that would go). Show the person that list and ASK which they want, then call again with `over_capacity`: `keep` (everyone stays booked; those sessions run over the new capacity) or `cancel_newest` (whole bookings are cancelled, newest first, until each session fits; a group goes whole; bookings already paid are skipped; the people cancelled are emailed). Or leave the capacity alone. Never pick for them. The response lists `cancelled_bookings`. ⚠ **Four fields are REPLACE-ALL lists**: `schedule_ids`, `membership_tier_ids`, `addon_option_ids` (a service's add-ons) and `main_option_ids` (the services an add-on is offered with). The list you send becomes the whole list. Read the product first (list_products with `product_id`) and send back what stays plus your change; `[]` clears. Leave one out to leave it alone. To empty a text field, name it in `clear` (`color`, `icon`, `sku`, `description`, `tax_code`, `booking_window_start`, `booking_window_end`), e.g. `clear=["sku"]`. Linking a product to a membership tier (`membership_tier_ids`) is allowed; a tier must be active (`unknown_membership_tier` otherwise). A member-only product may be active with no tier (a member copy made by duplicate_product, or one whose tier was deleted, has none) — but nobody can book it until a tier is linked, so tell the person that. **While the business collects sales tax, an ACTIVE product must have a tax category.** Any update that leaves an active product without one — including `is_active=true` on an uncategorized product — is refused with `tax_code_required` and nothing changes. Send `tax_code` in the same call: ask the person which fits (list_tax_codes), or "Not taxable" (`txcd_00000000`). The tax rule never stops a deactivation, and member-only products are exempt from it. **A members-only class that follows a class** (`follows_class_id`; what it means is on create_product): members land in that class's sessions and take the same seats. To make one, send `is_member=true` and `follows_class_id` on a class; if the person has not named it, ask the person which class it follows, never pick one. Linking clears the class's own upcoming dates (refused `has_bookings` while anyone is booked on them). Its name ("Member: {class}"), description, length, seats, category and instructor are the class's and change only on the class, which carries the change to every class that follows it: sending a different value for one of them, or any `class_blocks`, is refused `follows_a_class` (the same value passes). Leave `follows_class_id` out to keep the link; `follows_class_id=0` unlinks it (it then needs dates of its own: send `class_blocks` in the same call, or it is refused `follows_class_required`). Turning `is_member` or `is_class` off unlinks it too. ⚠ **Two links hold while they matter.** A class that follows another keeps it while people are booked on it: changing `follows_class_id`, Members only off or `is_class=false` is refused `has_bookings` (`booked` lists them). And a class that members-only classes follow stays an active class open to everyone: making it members-only, `is_class=false`, linking it to a class or `is_active=false` is refused `has_following_classes` (the message names them; they are unlinked or deleted first). Tell the person; never work around it. **A class's schedule** is `class_blocks`, and sending it REPLACES the whole schedule. Read the product first (list_products with `product_id`), then send back every block you want to keep plus your change — a repeat you are editing keeps its `series_id`. Omit `class_blocks` to leave the schedule alone; `[]` removes every session. Dates before today are never changed. Block shapes: picked dates `{"repeat": false, "schedule_id", "sessions": [{"date", "start_time"}]}`, or a repeat `{"repeat": true, "series_id", "start_date", "end_date", "weekdays": [0-6, Monday=0], "start_times": ["HH:MM"], "schedule_id"}` (full description on create_product). To skip ONE date of a repeat, cancel that class instead of editing the schedule. ⚠ **A session people are booked on cannot be removed or moved to another time.** The call is refused with `has_bookings`, and `booked` lists each date, time and seat count; nothing is changed. Tell the person which sessions are booked. They cancel each one on the calendar (which tells the people booked), and then the change can be made. Never work around it. Moving a booked session to another `schedule_id` IS allowed and moves its upcoming bookings with it. `is_class=false` clears the schedule, refused the same way while anyone is booked. Other refusals, each changing nothing: `follows_class_required`, `follows_a_class`, `follows_itself`, `follows_unknown_class`, `follows_not_a_public_class`, `follows_a_following_class`, `not_a_members_only_class`, `has_following_classes`, `tax_code_required`, `invalid_tax_code`, `invalid_color`, `unknown_schedule`, `schedules_not_applicable`, `party_exceeds_capacity` (judged on the schedules being saved — change `schedule_ids` in the same call to move it to a bigger room; on a class, on its `class_capacity`, where a larger `max_party_size` is lowered and reported in `notes` instead) / `party_size_conflict` / `invalid_party_size`, `fixed_party_on_class`, `seat_price_required` (any call that sends `max_party_size`, `fixed_party_size` or `additional_seat_price` must leave a group product with a seat price — 0 is one; a call that sends none of them is never refused over it), `separate_schedules_too_few` (also when `schedule_ids` alone would leave a product with `seats_on_separate_schedules` fewer named schedules than people), `separate_schedules_need_fixed_party`, `separate_schedules_not_applicable`, `separate_schedules_not_on_growth`, `separate_schedules_needs_pro`, `unknown_membership_tier`, `class_capacity_required`, `no_performer` (also when `schedule_ids` alone on an add-on would leave one of its services nobody) / `unknown_performer` / `not_an_addon` / `main_is_addon` / `main_is_retail` / `main_is_class` / `main_is_party`, `addon_retail_conflict` / `addon_class_conflict`, `category_not_found`, `clear_conflict` (a field both sent and named in `clear`). See create_product for what each means.
update_product
Change one follow-up's wording or settings, or switch it on or off. `key` is 'review_ask', 'rebook' or 'win_back' (see list_automations). Send only what you are changing. **Ask the person before switching one on (`enabled=true`).** From then on it emails their customers on its own, as each one qualifies; nothing from before the switch-on starts it (a visit last month gets no thank-you). Switching off stops everyone in it at once. At most one automatic email goes to a customer a day: when two are due, the other waits a day. **The wording.** You may draft it, or use the person's own words: show it to them and save only after a clear yes. `emails` is one object per email, in order (the win-back has two), each with only what changes: `subject`, `body`, `promo_code_id`. To change only the win-back's second email send `[{}, {"subject": "…"}]`. Plain text, a blank line between paragraphs. ⚠ The email adds its own parts, so do not write them: the greeting ("Hi Maria,", from the customer's first name), and its buttons (the review links on the thank-you, a Book button per service on the rebook reminder, Book now on the win-back), the business's name and address, and the unsubscribe link. On the thank-you, ask everyone for a review alike: never only happy customers, and never steer an unhappy one away from the review site (Google forbids both). ⚠ Never a checkout link (`/shop/order/…`): it is one customer's order and closes after a day, so it is refused in `errors` for that field. To send customers to a membership or package, write its `link` from get_online_shop. **An offer.** An email's `promo_code_id` takes a retention code (made with create_promo_code `purpose='retention'`; list_automations lists them as `codes`): it works only for the customer it was emailed to, for its days after the email. `0` takes the offer off. The thank-you never carries one: Google forbids any reward for a review. The win-back's `lapse_days` (1-365, out of the box 60) is how long without a visit starts it; `use_rhythm` uses each customer's own usual gap instead, for those who have one; `wait_days` (1-90, out of the box 14) is the days between its two emails. Other follow-ups ignore these. Refused `invalid_followup` with `errors`, a sentence per field (e.g. `subject_0`, `promo_code_id_0`, `lapse_days`, `emails` when there are more emails than it has); nothing is saved, the switch included. `not_found` for a key that is not one of the three. Returns the follow-up as list_automations lists it.
update_automation
Write the business's public Business Page, or publish / unpublish it. Send only what you're changing. To empty a field, name it in `clear`, e.g. `clear=["facebook"]` or `clear=["tagline", "about"]`; never send a field you are clearing as well. `tagline` is ONE line under the business name (120 characters at most), e.g. "Rest for the stressed". `about` is their story in plain text (5,000 characters at most): who they are, why they do this work, what they specialize in — a blank line starts a new paragraph. Everything on this page is PUBLIC and found by search engines, so write only what the person would say to a customer. Keep contact details out of `about`; they have their own fields. Business info, shown at the top of the page and in a Contact card, and ONLY while `show_business_info` is true: `phone` (a US number in any format; stored as +1XXXXXXXXXX), `email`, and the address as `address_street`, `address_city`, `address_state` (two letters, e.g. UT) and `address_zip` (5 digits, or ZIP+4 like 84770-1234) — send only the parts that change. `instagram` and `facebook` take a handle like @name (dots are fine) or a link to that site's page, and show whenever they are set. `show_hours` shows their business hours. There is deliberately no website: a business with a site of its own should not run this page as a second one. ⚠ **The email and the address are not copies.** `email` IS their reply-to email: changing it also changes where customers' replies to their booking emails go. The address IS their sales-tax address: changing it changes the address sales tax is worked out from. Say so before changing either. On the Growth plan the address is refused; each location's is set on the dashboard under Locations. ⚠ **Once the business collects sales tax, the address is the owner's to change.** Sending any address part is then refused with `tax_address_locked`, and nothing in the call changes. That is final: do not retry it or look for another way. Tell the person to change it on the dashboard (Branding → Business Page), and send the rest of the change again without the address. Before they collect tax, you may set it. ⚠ **Confirm business info with the person.** get_business_page's `on_file` holds what they already gave us for an empty field — offer it ("Your text-message registration has (435)555-0142. Use that?"), and save it only on a yes. Ask before turning `show_business_info` on: for someone who works from home or travels to clients, that address is their home and that phone their own cell. If the reply shows a `registered_phone_mismatch`, tell them: the carrier compares the page's phone with their text-message registration, and a different number can hold that registration up. The services on the page are NOT written here: the page lists the same services customers can book, with the first lines of each description. To change them, use update_product. The profile photo is uploaded on the dashboard (Branding → Business Page); there is no photo here. ⚠ **Ask the person before publishing or unpublishing.** `publish=true` makes the page what their address's root shows, instead of going straight to booking; their booking link, `/book/`, keeps working either way. If get_business_page shows a `registered_website`, they already have a website, and a second page about the same business competes with it (and can trouble their text-message registration) — say so and let them decide. `publish=false` takes it down. Leave `publish` out to leave it as it is. Refused, nothing changed: `tax_address_locked` (above, clearing an address part included), `clear_conflict` (a field both sent and named in `clear`), and `invalid_field` (too long, a phone that is not 10 US digits, an email address that is not valid, an unknown state, a ZIP that is not 5 digits, an Instagram link to another site — `errors` names each field with a sentence to read back, an address part as `address.state`). Returns the page as get_business_page does.
update_business_page
Email ONE customer a link to sign one of the business's forms (a waiver, consent or intake form). No booking is needed. Requires a `read_write` key. ⚠ **Confirm with the person before sending.** Name the form (from list_forms) and the customer, with their email address (from list_customers / get_customer_overview), and send only after a clear yes: this emails a real customer. If the customer already has a link to this form waiting to be signed, that SAME link is emailed again and the reply says `reused: true`; no second copy is made. A form they already signed can be sent again (a yearly waiver is re-signed). A membership agreement is never sent this way: a membership sale sends it. The customer fills it in on the business's own page. What customers answer never comes back to you: get_form_submission refuses a form's answers (`form_answers_not_permitted`), and they stay on the business's dashboard. Returns the submission: `id`, `token`, `status`, `sent_at`, `expires_at`, `reused`. Refused, nothing sent: `no_email` (the customer has no email address), `agreement_not_sendable`, a 404 for an unknown or archived form or an unknown customer, and `send_failed` (the email could not go; try again later).
send_form
Email ONE customer a promo-code offer (a win-back / thank-you / re-book nudge). Requires a `read_write` key. This is how you DELIVER a code you created with `create_promo_code` — the usual flow is: review customers with the reports (`find_customers_by_activity` / `analyze_customer_book` / `list_new_clients`), mint a targeted code, then email it to the right people one at a time. ⚠ **Confirm with the person before sending.** Name the customer and the offer (the code's `label`), and send only after a clear yes: this emails a real customer. The email is sent through the business's compliant marketing pipeline, which you CANNOT bypass: a daily send cap applies, and every email carries a required unsubscribe footer + a "Book now" button that pre-applies the code. It moves no money — the discount only ever applies when the customer books. Pass a short, friendly `message`; a subject is required. ⚠ Never put a checkout link (`/shop/order/…`) in either: it is one customer's order and closes after a day, so it is refused `order_link`. For a membership or package, use its `link` from get_online_shop. Returns `{status}`: `sent`, or `simulated` on a demo business. ⚠ `failed` and `deferred` also come back without an error, and mean the email did not go: tell the person so, never that it was sent. Refused, nothing sent: `opted_out` (the customer unsubscribed from marketing email), `no_email`, `unknown_code` (pick an active promo code), `no_sender_address` (the business hasn't set a mailing address), `cap` (the daily limit is reached).
send_offer_email
Find customers by visit activity — win-back and cadence intelligence. Returns a per-customer report (visit_count, last_visit, days_since_last_visit, avg_cadence_days, top_product, has_upcoming, overdue) plus a tenant summary. Use `lapsed_days` for "who hasn't been in for N days" and `overdue` for "which regulars are past their usual visit cadence with nothing booked". `lapsed_days=N` keeps customers last seen MORE than N days ago: day 60 is the last day of the `31-60` band, so `lapsed_days=60` starts at `61-120`. The same N names the same people in find_win_back_customers and analyze_customer_book. Deleted customers never appear, in the rows or the counts. `has_upcoming` flags customers who already have an appointment (exclude them from win-back outreach). Rows come **shallowest-lapsed first** — the most recently seen, and so the most recoverable, lead. Each row's `phone_e164` is the number to dial; `phone_valid: false` means the one on file will not dial. `summary.bands` ALWAYS carries the count of customers in every lapse band (`0-30`, `31-60`, `61-120`, `121-365`, `365+` days since last visit), regardless of any filter — so a single call tells you the shape of the whole book. Pass `band` to get the full detail of ONE band; unlike paging, a band that fits comes back with `complete: true`, meaning you hold every matching customer. Prefer banding over paging: ask for the distribution, then pull the band worth acting on. `min_visits` keeps only customers with at least that many visits — combine it with `lapsed_days` for "who used to come in a lot and stopped", which is the highest-value win-back segment. ⚠ `visit_count` is a LIFETIME total, so it conflates a devoted regular with a long-standing occasional one; read it beside `avg_cadence_days`, which is a rate, before calling anyone a regular. **Check `complete` before summarising.** When it is false the response also carries `truncated: true`, `showing`, `total` and a `note`: you are holding a SORTED slice, not a sample, so never characterise the whole book from it — narrow with `band`/`lapsed_days`/`overdue`/`min_visits`, or request another `page`.
find_customers_by_activity
Who used to come in a lot, for what, and when they stopped. The win-back call sheet. Distinct from find_customers_by_activity, which leads with the SHALLOWEST lapse (most recoverable); this leads with the BIGGEST LOSS. **Counting is scoped, lapsing is global.** `service_ids` / `category_id` decide what "came in a lot" is measured over — but `days_since_last_visit` is always the WHOLE BOOK. Somebody who dropped sauna and still books a massage every fortnight is not on this list, and should not be: calling them for a win-back makes the business look like it isn't paying attention. `last_service_visit` rides along beside `last_visit`, and a gap between the two means they drifted off that service before they left altogether. Lapsed means last seen MORE than `lapsed_days` ago, so the default 60 starts at the `61-120` band. `first_visit` is their real first visit, ever; `first_visit_in_window` is the first one inside `window_days`, and `visits_in_window`, `active_span_days` and `avg_cadence_days` are measured from it. Deleted customers never appear. ⚠ **`missed_visits` is the ranking and the sentence to say.** It estimates the visits their own rhythm says they should have made and didn't (`days_since_last_visit` ÷ `avg_cadence_days`). A weekly regular gone 120 days is ~13; a quarterly client gone 120 days is ~1.3. Both are "lapsed 120 days" and only the first is worth a call. It is an ESTIMATE from an average — say so, and never present it as a count of anything recorded. It is `null` for a customer with one visit, who has no rhythm to be late against. ⚠ **Never rank on `visits_in_window` alone.** A count conflates tenure with intensity: 40 visits over five years is a twice-a-year regular, 40 in six months is devoted. Read it with `avg_cadence_days` (a rate) and `active_span_days`. **How many visits is "a lot"? Ask the data, not the tenant.** `summary.thresholds` reports how many lapsed customers clear 3 / 5 / 10 / 15 / 20 visits FOR THE SCOPED SERVICES, and `summary.typical_visits` gives the median / p75 / p90. Five StemCell visits is a lot; twenty sauna punches is ordinary — so call this once without `min_visits`, show the ladder, then pass the rung the tenant picks. The ladder always describes the whole lapsed set, so it does not change when you filter. ⚠ **`window_days` must be greater than `lapsed_days`** or you get a 400 (`invalid_window`) — visits are counted inside the window, but a lapsed customer's visits all fall BEFORE the lapse, so a narrow window excludes exactly the people you are looking for. Widen `window_days` rather than shortening the lapse. Two flags worth reading before you call anyone: `has_upcoming` (already booked — not lost) and `sessions_remaining` (an unused pack balance, which makes the call MORE worth making because the business already has their money — but a finite course they simply finished is not a lapse at all). For the call itself, dial `phone_e164`; `phone_valid: false` means the number on file (`phone`, as stored) will not dial, so say so and offer the email instead. Each row's `habits` is when and what they usually came for over the last year: `weekday`, `time_of_day` (`morning` / `afternoon` / `evening`), `service` and `provider`, each with its `visits` of `of`, and null when there is no clear leader. Use it to offer their usual day and the service they came for. `bands` and the `complete`/`truncated`/`note` contract work as they do elsewhere: prefer `band` to paging, and never characterise the whole set from a truncated page. Hand `customer_id`s to draft_campaign to reach the group.
find_win_back_customers
Where the open capacity is over the next `days` — fill-the-empty-chair. Utilization is booked ÷ available time per provider per day. Returns `slots` (per date × provider column: available / booked / open minutes + `utilization_pct`) and a `summary` with `per_provider` (most-open-first — who has the most availability) and `per_day`. Use it to answer "where are my empty slots this week?", "how booked is Tuesday vs Saturday?", and "which provider has openings?". A business with no named providers is reported as a single General column off its business hours. The window starts TODAY: `days=7` is today and the six days after it, and a day the business is closed has no row. ⚠ **Read each day column by column.** Every `per_day` entry carries `columns` (each column open or booked that day, with its own `booked_minutes`, `open_minutes`, `booking_count` and `utilization_pct`) and `busiest_column` / `quietest_column` among the columns open that day. The day's own `utilization_pct` blends every column and counts each seat as its own time, so a many-seat column (a 12-chair floor, a 50-seat class room) holds it near 0% however booked the one-seat columns are. Never call a day empty from it: say how booked each column is, e.g. "Saturday: Massage 60%, the floor 1%". ⚠ **A walk-in column always looks open ahead.** Each column also carries `booked_same_day_pct`: the share of its visits over the last 90 days (today left out) that were booked on the day itself, with `same_day_basis` the visits it is read from (null with none). A column that is mostly booked on the day is not empty next week: say it fills on the day, and lead with the columns people book ahead, e.g. "Thursday: Massage 0% booked; the floor shows nothing yet but 92% of its visits are walk-ins". For "which customers should I invite to fill it?", use `suggest_fill_campaign` instead — it does the matching server-side. Do NOT try to join this report to `find_customers_by_activity` yourself: that one is paginated, so you would be matching against a partial customer list without knowing it.
find_schedule_gaps
Who to reach out to and re-engage — two lists, each paginated on its own. Use this when the owner asks who to reach out to, who has drifted away, or who to re-engage. It COMPILES the lists and contacts nobody; the owner decides what to do. Both lists lead with whoever dropped off MOST RECENTLY, the people most likely to come back. ⚠ **Both lists are people with NO membership.** Anyone holding one — as owner or on a shared plan, active or paused — is left off both, and `members_left_off` on each list counts them. A member who hasn't been in is a different question: use analyze_prepaid_usage view=members for that. `idle_packs` — pack holders with sessions left who have not been in for `lapsed_days` (default 30). "Been in" means ANY visit: someone who came yesterday and paid cash is not here. A pack shared with the holder's group counts as in use when a group-mate has been in. One row per person, with `packs` (name, `sessions_remaining` of `sessions_qty`, `reason`, `reason_text`). Rows with no visit on record come last and are counted in the `never` band; pass nothing extra to reach them, just page. ⚠ **A `used_undated` pack was USED** — an imported balance keeps the count but not the dates. Never say that customer has never been in. Read `reason_text` and say what it says. `new_regulars` — newer clients who came regularly, then stopped (gone longer than twice their own average gap, nothing booked). **What "came regularly" means is the owner's call, and you ask it every time:** at least `min_visits` visits (3 or more), no more than `max_gap_weeks` apart, first visit within the last `new_within_months` months. Leave all three out and `new_regulars` comes back `needs_definition: true` with `suggestions` — how many new clients clear 3 / 4 / 5 / 6 / 8 visits and their typical gap in weeks. Show those, ask, then call again with all three. Someone already on `idle_packs` is left off this list (`on_packs_list` counts them) so nobody is contacted twice. Every row carries FACTS, not recommendations: contact details (`phone_e164` is the number to dial, and `phone_valid: false` means the one on file will not dial), `last_visit`, `days_since_last_visit`, `avg_cadence_days`, `missed_visits` (an ESTIMATE from their own average gap — say so), and `habits` (their usual weekday, time of day, service and provider, each with `visits` of `of`; null when there is no clear leader). **How to recommend, without selling:** - Lead a pack holder with what they already own ("3 sessions left on your sauna pack"). - Name their usual day and time, and check_availability to offer a REAL open slot rather than a guess. - For a new regular, suggest a personal check-in, not an offer. - Never propose a discount or a purchase unless the owner asks for one. `email_marketing_opted_out: true` means they unsubscribed from marketing email. They stay on the list (a call about sessions they paid for is not marketing), but never put them in draft_campaign. draft_campaign (Pro) sends ONE message to everyone and cannot fill in each person's balance; say so if asked to email the list. Deleted customers never appear. Check `complete` on EACH list before summarising it — a truncated list is a sorted slice, not a sample. `limit` is rows per list (at most 100). Errors: `min_visits_too_low` (under 3 — two visits are one gap, not a rhythm; tell the owner) and `invalid_definition` (a zero or negative week/month count).
find_customers_to_reengage
Full picture of one customer in a single call. Returns their profile, recent booking history (`bookings`, newest first), active membership (`membership`, or null), remaining bundles (`bundles`), and staff notes. Use this to answer "who is this customer, what do they book, and what do they hold?". `phone_e164` is the number to dial; `phone_valid: false` means the one on file (`phone`, as stored) will not dial. It is what the business keeps to run its bookings, and it never carries a form's answers or a treatment (SOAP) note: those stay on the business's dashboard. Say only what the person asked about this customer, never more of their contact details or notes than the question needs. `past_memberships` are the memberships they held that have ended, newest first: `tier_name`, `started_on` and `ended_on` (the business's own dates; `ended_on` is null when the end was not recorded, so say it ended without a date). Use it for "did they ever have a membership, and which?". ⚠ `tier_name` is the tier's CURRENT name, so a tier renamed since reads by its new name. A member who changed tier shows only the last tier they were on. ⚠ A membership they only shared on somebody else's plan is never listed, so an empty list does not prove they were never on one.
get_customer_overview
Read a service's own custom reminders — extra reminders it sends a set time before each appointment, on top of the regular reminders (the day-before email and the reminder text), which go out whatever these say. Pro only. Returns `available` (the business is on Pro; false means it cannot have them), `enabled` (the service's switch: off, none go, and they are kept), and `reminders`, farthest from the appointment first, each `{lead_hours, send_email, send_text, message, include_in_day_before}`: `send_email` sends an email with `message` (the business's own words), `send_text` sends the regular reminder text at that time too. Also `text_preview` (that text for this service, word for word — the text never says anything else), `texts_available` (the business has messaging; without it no text goes) and `regular_text_lead_hours` (when the regular reminder text already goes, so a reminder at that lead sends no text). Read this before set_product_reminders, which replaces the whole list. `product_id` is from list_products.
get_product_reminders
Corterra Book ChatGPT Plugin FAQ
How the directory, categories and Discoverability Score work.
Read the methodologyHow do I improve Corterra Book's ChatGPT Plugin discoverability?
The levers are the listing surface agents actually read: names, descriptions, keywords, tool metadata, and registry health. Which lever matters depends on where discovery breaks, which is what continuous measurement shows.
What are Corterra Book alternatives on ChatGPT?
As of 2026-12-01, Corterra Book competes with A Resplendent Tea Experience, ACMENOTARY, ActiKidz, AgendaPilot, Agilix, Airweb Drone Data, AIWEB Call, AKTIO and 49 more in ChatGPT Local Services Booking Marketplaces, ranked by public Discoverability Score.
Where is this profile measured?
This profile uses the geography attached to the latest public registry snapshot: US. Locale tags are intentionally omitted.