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

# POST /api/public/v1/customers/createAtTill

`POST /api/public/v1/customers/createAtTill`

## Request

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

Creates the customer a cashier is about to attach to an order, answering with an existing customer that already holds the number. With `joinLoyalty`, a live program enrols the customer; when the program is not live, or the business takes no new Loyalty work (its own switch is off, or its plan restricts or lacks Loyalty), the customer is created without enrolling, as before for a program that is not live. While the organization asks for the guest's WhatsApp code when the till adds them to loyalty, `joinLoyalty` enrols nobody and sends the code to a customer who is not yet a member instead: `joinCode` is that send (`sent`, `cooldown` or `unavailable`), and null when no code was sent. 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
  - `email` string, email
  - `dateOfBirth` string, date
  - `comment` string
  - `joinLoyalty` boolean

## Response `200`

OK

- object
  - `id` string, required
  - `name` string, nullable, required
  - `phone` string, nullable, required
  - `loyaltyStatus` 'member' | 'joinable' | 'needsPhone', required
  - `loyaltyJoin` object, nullable, required
    - `welcomeHundredths` integer, nullable, required
  - `joinCode` union, required
    - object
      - `status` 'sent', required
    - object
      - `status` 'cooldown', required
      - `retryAfterSeconds` integer, required
    - object
      - `status` 'unavailable', required

## Changes

- **2026-11-11** `8a57f722ed5a`: 1 info
  - added the required property `loyaltyStatus` to the response with the `200` status
- **2026-11-06** `c5ef518f4830`: 1 info
  - added the required property `joinCode` to the response with the `200` status
- **2026-10-19** `664b93b511f5`: 1 info
  - added the required property `loyaltyJoin` to the response with the `200` status

[Operation history](https://skmtc.dev/fortis/apis/fortune-os-api/changes/api/public/v1/customers/createAtTill/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)
