POST /api/public/v1/customers/tillPoints
Changed onWhether the customer attached to an order can spend loyalty points on it and, for a member, the balance and the limits a spend is held to. Answers status off while the program is not live, and also while the business may start no new Loyalty commitment: its own switch is off, its plan restricts or lacks Loyalty, or its billing standing admits no new commitment. A non-member's needsCode says whether joining asks for the guest's WhatsApp code; a member's says whether spending does, with isVerified whether verifyPointsCode verified the order for them, and phone the number the code goes to. Every status but off carries earn: the cashback rate the order earns its guest at, a member's tier rate or the program's own, and the happy-hours multiplier when the order was opened inside them, both in basis points. 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
anyOf[subschema #3]/phoneto the response with the status
- info
- info
added
subschema #2subschema #3subschema #4to the response bodyanyOflist for the response status - info
removed
subschema #2subschema #3subschema #4from the response bodyanyOflist for the response status
- info