Skip to content

Changelog

  • Read and enrol loyalty club members: GET /customers/{customerRef}/loyalty (scope loyalty:read) reads a guest’s membership, and POST /loyalty/members (scope loyalty:write) enrols a guest by phone, creating the guest when nobody holds the number. Enrolling sends no message and issues no reward, and a guest’s marketing consent can now carry the source api. A tenant without the loyalty club app answers 409 loyalty-not-installed here too. See Loyalty club members.
  • Transfer loyalty club members from another system: POST /loyalty/members/import (scope loyalty:import, on a key that reaches every restaurant) transfers up to 100 members per call, with a dry run. It sends no message and issues no reward. A tenant without the loyalty club app answers the new 409 loyalty-not-installed. See Loyalty club members.
  • Six loyalty club attributes in the Nine Tables catalogue: loyalty_member, loyalty_tier, loyalty_visits_period, loyalty_member_since, loyalty_joined_via and loyalty_join_source, computed from each guest’s membership of the tenant’s own club, for a tenant with the loyalty club app. Their keys are reserved like every catalogue key, and computed.operation gains the six operations they read, which a rule of your own cannot use. Switching one on without the loyalty club app answers 409 loyalty-not-installed. See Catalogue.
  • Every booking.created and booking.updated delivery carries data.tables: for each id in booking.table_ids, in that order, the Table that GET /restaurants/{restaurantId}/tables lists, and [] when the booking holds none, so a table’s name arrives without a second call. A table move’s booking.updated names the tables the booking moved to. The test delivery’s sample booking now holds one table. A delivery queued before this release, which only a retry or a redelivery still sends, arrives without the member. No member was removed or renamed, and booking.deleted is unchanged.
  • GET /availability refuses a table_count the area does not sell: a count sent with no area_id, for an area whose sells_by_table is false, for a multi-area experience, or outside the area’s minimum and maximum now answers 400 validation-failed on table_count, where it was answered before. A count for an area that sells by the table, within its bounds, is answered as before.

Released 2026-10-19.

  • New scope customers:write, which POST /customers now requires in place of bookings:write. Every key that held bookings:write was granted customers:write, so no key lost the power to create a guest. The one gap is a key minted with bookings:write while the 1.1.0 deploy was in progress: it may lack customers:write, and GET /me shows whether it does. POST /bookings still creates the guest it needs under bookings:write.
  • GET /customers/{customerRef} now requires customers:read in place of attributes:read, and carries values only when the key also holds attributes:read; without it the member is absent. A key holding attributes:read without customers:read now answers 403 here, and reads the same values from GET /customers/{customerRef}/attributes.
  • BookingSummary carries every member a booking write sets: customer_notes, staff_notes, allergens, dietary_preferences, requested_area_id, requested_table_count and table_ids, under the same bookings:read, in every booking read and every booking webhook delivery. A change to any of them now raises booking.updated, names itself in changed and moves the booking in an updated_since page. One write raises one booking.updated however many members it moved, its tables included, and booking.created carries the tables the create attached.
  • On the booking of a POST /bookings or PATCH /bookings/{bookingRef} answer, the seven new members need bookings:read; without it they are absent. The members that answer carried in 1.0.0 are unchanged.
  • A booking stores and publishes a note holding only whitespace as null, as it does an empty one, and allergens and dietary_preferences read [] rather than null when none is declared, in every booking read and in deliveries queued from now on. A save that re-states either, a whitespace-only note where the booking has none or an empty list where it declares none, no longer raises booking.updated.
  • Every customer read and customer or segment delivery carries created_at, and marketing_consent joins the contact members: { granted_at, source }, or null without a grant, under contacts:read (include=contact on the listings) and include_contact on deliveries. A grant, a withdrawal or a change of its source raises customer.updated with marketing_consent in changed and moves the guest in an updated_since page. Consent stays read-only on this API: the restaurant records it, and a way to write it is on the roadmap.
  • Restaurant carries the venue’s timezone, currency, address, city, country, contact_phone and contact_email on GET /restaurants, still open to any key. timezone is always set; the others are null when the venue left them blank.
  • An AvailabilityPeriod names its area in area_id, null on a restaurant-wide period, so the area of a restaurant_wide: false period can be sent as a booking’s requested_area_id or asked about alone.
  • New GET /restaurants/{restaurantId}/areas, /tables and /experiences, open to any key: the directories that name the requested_area_id and table_ids a booking carries and the area_id and experience_id GET /availability takes, with names in the tenant’s default language. include_inactive=true adds removed rows, so a booking’s historical ids can be named.
  • GET /availability refuses an experience_id that names no active experience of the restaurant with a 400 validation-failed on experience_id. It answered an undocumented 404 before.
  • New GET /webhooks/{id}/deliveries/{deliveryId}: one delivery-log entry with its body, the JSON the dispatcher sends for it, under the same webhooks:manage and delivery read scopes as the delivery log.
  • A segment_id on POST /webhooks or PATCH /webhooks/{id} that names no segment of the tenant, or one a limited key cannot see, answers 400 validation-failed on segment_id, as an unknown restaurant_id does. It answered 404 not-found before. A fixed or archived segment still answers 400 on the member.
  • New subscription flag include_customer (default false): with it, booking.created and booking.updated carry the guest as data.customer, the WebhookDeliveryCustomer customer events carry, with email, phone and marketing_consent still only under include_contact, and null when the booking has no guest or GET /customers/{customerRef} answers 404 for them. It needs customers:read and contacts:read, and answers 400 on include_customer without booking.created or booking.updated in events. Turning it off removes data.customer from the deliveries already queued, delivered ones included, and include_contact now governs that guest’s contact members like any other’s. An erasure nulls it, and the booking delivery stays redeliverable.
  • GET /bookings and GET /bookings/{bookingRef} take include=customer, under customers:read: each booking carries its guest as customer, the CustomerSummary GET /customers/{customerRef} returns to the same key without values, so the name and contact members need contacts:read. GET /bookings/{bookingRef} now answers BookingDetail, a BookingSummary with that optional member.
  • The OpenAPI document now declares what the API already sent: the Link header on every response and Idempotent-Replay on the 2xx of each idempotent operation, format: date-time on response timestamps (except the attribute concurrency token), top-level tags with descriptions, and an example body on every operation that takes one. The redelivery path template is {deliveryId}; the URL is unchanged.

Released 2026-10-17. First public version of the Customer Data API.