POST /api/public/v1/customers/tillCard

Changed on

The till's card for the customer attached to an order. loyalty is null while the organization's loyalty program is not live, and also while the organization's plan lacks Loyalty and Loyalty is enforced. A non-member's loyalty is also null while the business may start no new Loyalty commitment: its own switch is off, its plan restricts Loyalty, or its billing standing admits no new commitment; a member's stays. A non-member's needsCode says whether joining asks for the guest's WhatsApp code. 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
orderId, string required

Response

OK

object required
profileId, string nullable required
name, string nullable required
phone, string nullable required
segment, 'contactOnly' | 'new' | 'oneTime' | 'active' | 'atRisk' | 'lost' required
visits, integer required
usualOrder, string[] required
latestNote, string nullable required
loyalty, union required
passes, object[] required
endedPasses, object[] required

Changes

    • info

      added the required property loyalty/anyOf[subschema #1]/anyOf[subschema #2]/isPointsOn to the response with the status

    • info

      added the required property endedPasses to the response with the status

    • info

      added the required property passes/items/allowanceCount to the response with the status

    4 more changes in this revision