> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.cloudbridal.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# API Changelog

# CloudBridal API Changelog

Changes to the CloudBridal API, newest first. The endpoint reference, linked from the API Access
screen in CloudBridal, holds the request and response schemas, permissions, limits and examples for
each operation; this page records what changed and when.

Within v1 the contract is additive: new fields and endpoints may be added, and existing fields and
endpoints are not renamed, removed or retyped. An integration written against v1 keeps working.

## v1 — October 2026

### Booking questions

- **Each appointment type lists its questions.** `GET /api/v1/appointmenttypes` returns `fields`
  for every type: the questions the store's own booking page asks for it, in the same order, each
  with its label, answer type, whether it is required, and the options for a choice. They include
  the store's own custom questions, which can differ between types.
- **Bookings carry the answers.** `POST /api/v1/appointments` and
  `POST /api/v1/appointments/waitlist` accept `eventDate`, `venue`, `address`, `referralSource`,
  `firstVisit`, and `answers` for the custom questions. The answers are saved on the appointment
  where the store's booking page saves them.
- **Appointments read the answers back.** Every appointment from `GET /api/v1/appointments` and
  `GET /api/v1/appointments/{id}` now carries `eventDate`, `venue`, `address`, `referralSource`,
  `firstVisit` and `answers`, whether the answers came through the API, from the customer on the
  store's booking page, or from staff. Each custom answer carries its question's current `label`.
  Only questions a customer is asked are included.
- **Answers are checked, but none is compulsory.** An answer of the wrong type, a choice that is not
  one of the options, or an answer to a question the type does not ask is refused with
  `validation_failed`, and `details` names every such answer. A field marked `required` is one the
  store's own booking page insists on; the API still books without it, so requests that worked
  before keep working, but the store expects the answer.

### Sandbox

- **A new sandbox starts with the store's appointment types and rooms.** Rooms with set hours are
  copied with their weekly schedules, so there is something real to book against. Rooms whose
  hours come from staff schedules are not copied, because the sandbox has no staff; their types
  still come across but can be booked only in a copied room. The sample type ("Consultation") and
  room ("Fitting room") are added only when no room was copied.
- **Copy settings from this store** refreshes the copied types and rooms by name without deleting
  anything, and **Start over** rebuilds the sandbox from them. A sandbox's ids never match the live
  store's, so look types up with `GET /api/v1/appointmenttypes` rather than hard-coding them.

### Errors

- **A request body that is not UTF-8 is refused as the caller's to fix.** It used to answer
  `internal_error` (500); it now answers `validation_failed` (400). Request bodies must be UTF-8 JSON.
  Text containing accented characters typed into a Windows shell is often sent in the console's
  code page instead: send the body from a UTF-8 file, or escape those characters as `\uXXXX`.

## v1 — September 2026

The first release of the CloudBridal API.

### Capabilities

- **Store information:** Read the store's identity, time zone, currency and customer types.
- **Appointments:** Read appointment types and availability, book and reschedule appointments,
  cancel bookings, and add customers to the waitlist.
- **Customers and events:** Create and update customer records, check for duplicates, manage
  events and their participants, and send customer messages or portal invitations with consent
  checks.
- **Inventory:** Read products, variants, retail prices, stock, images, vendors and tags.
- **Orders and payments:** Read order tickets, balances, payments and refunds. Money and stock
  are read-only; the API does not take payments, issue refunds or adjust inventory.
- **Change notifications:** Subscribe to signed webhooks for appointment, customer, order,
  payment and inventory changes, with delivery history and automatic retries. Incremental
  polling is also available for keeping records in sync.
- **API keys and sandbox:** Use permission-scoped server-side keys and a free practice store to
  build and test integrations. Access to live store data requires the API Access add-on.

### Integration foundations

v1 includes opaque record identifiers, paginated lists, structured error responses with request
IDs, rate-limit headers, partial updates, and idempotency keys for retrying POST requests.