POST /api/public/v1/loyalty/getProgram

Changed on

Returns the organization's loyalty program, or null when it was never launched. Readable whatever the plan, so existing configuration survives a lapse. stamps holds the stamps settings, their defaults when none were saved, and the active stamp rows in card order; it is left out while the stamps flag is off for the organization. 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 nullable required
status, 'draft' | 'live' | 'stopped' required
settings, object required
stamps, object

Changes

    • info

      added the required property anyOf[subschema #1]/stamps/rows/items/name to the response with the status

    • info

      added the optional property anyOf[subschema #1]/settings/points to the response with the status