POST /api/public/v1/customers/createAtTill
Changed onCreates 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
- Base URLhttps://app.fortuneos.ai
- Authnone declared
Request body
Response
OK
Changes
- info
added the required property
loyaltyStatusto the response with the status
- info
- info
added the required property
joinCodeto the response with the status
- info