POST /api/public/v1/customers/tillLoyaltyProgram

Changed on

Whether the organization's loyalty program is live, so the till offers to enrol a new customer, and canScanWalletQr, true only while it is live and either the loyalty-wallet pilot admits the organization or the caller holds a confirmed loyalty-wallet-preview:on arm, so the till offers to scan a member's Wallet QR. While it is live, also answers isPointsOn, whether the program's Points are on, and stampRows, its active stamp rows (id, name, imageUrl) in card order while it takes stamps (Stamps on and the stamps flag on), else none, which the till's customer card lays out before it is read. Answers isLive: false, isPointsOn: false and no stampRows 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. 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 URL
    https://app.fortuneos.ai
  • Auth
    none declared

Request body

object required
organizationId, string required

Response

OK

object required
isLive, boolean required
canScanWalletQr, boolean required
isPointsOn, boolean required
stampRows, object[] required

Changes

    • info

      added the required property isPointsOn to the response with the status

    • info

      added the required property stampRows to the response with the status

    • info

      added the required property canScanWalletQr to the response with the status