---
title: "POST /api/public/v1/customers/createAtBooking"
method: POST
path: "/api/public/v1/customers/createAtBooking"
---

# POST /api/public/v1/customers/createAtBooking

`POST /api/public/v1/customers/createAtBooking`

## Request

- Base URL: `https://app.fortuneos.ai`
- URL: `https://app.fortuneos.ai/api/public/v1/customers/createAtBooking`
- Auth: none declared

Creates the customer a host is about to pick for a booking, answering with an existing customer that already holds the number. A `bookingId` names the stored booking the guest is added to: one of this organization the caller may update in its current status, whatever the location's Bookings switch, plan or standing. Otherwise `locationId` names the location a new booking is taken at, which must take it as `bookings.create` does: refused with FORBIDDEN as `bookingsDisabled`, `billingReadOnly`, `subscriptionEnded`, `featureRestrictedByPlan` or `featureNotEntitled`. Naming neither, the business as a whole is judged: refused with FORBIDDEN as `billingReadOnly`, `subscriptionEnded`, `featureRestrictedByPlan` or `featureNotEntitled`. Refused with NOT_FOUND for a booking or location this organization does not hold, with CONFLICT as `transitionNotAllowed` for a closed booking, and with UNPROCESSABLE_CONTENT for a number that cannot be read as one. Customers are still created through `customers.create`. Refused with FORBIDDEN as `paywallLocked` when the caller is an Owner or Manager of a business the merchant Paywall locks: one with no verified subscription that has taken 5 orders while the Paywall's rollout reaches it, an order counting from its first saved line, whether or not it is paid or completed, until it is archived or cancelled before activation. Nothing is read or written; a verified subscription lifts the lock.

## Request body

- object
  - `organizationId` string, required
  - `name` string
  - `phone` string, required
  - `bookingId` string
  - `locationId` string

## Response `200`

OK

- object
  - `id` string, required
  - `name` string, nullable, required
  - `phone` string, nullable, required
  - `loyaltyStatus` 'member' | 'joinable' | 'needsPhone', required

## Changes

- **2026-11-11** `8a57f722ed5a`: 1 info
  - added the required property `loyaltyStatus` to the response with the `200` status
- **2026-11-10** `2f337b8e7681`: 2 info
  - added the new optional request property `bookingId`
  - added the new optional request property `locationId`
- **2026-10-23** `45b75dcaa296`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fortis/apis/fortune-os-api/changes/api/public/v1/customers/createAtBooking/post.md)

---

[API](https://skmtc.dev/fortis/apis/fortune-os-api.md) - [All operations](https://skmtc.dev/fortis/apis/fortune-os-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fortis/apis/fortune-os-api/revisions/522f3cea550d?raw)
