POST /api/public/v1/settings/getLoyaltySwitch

Changed on

Reads the business's own Loyalty switch (loyaltyEnabled, on unless the business turned it off), one value for every venue of the business. availability says whether the business takes new Loyalty work now: null when it does, loyaltyDisabled while the switch is off, featureRestrictedByPlan while its plan's policy restricts Loyalty, featureNotEntitled while its plan lacks Loyalty, and billingReadOnly or subscriptionEnded while its billing standing admits no new commitment. Refused with NOT_FOUND for an archived business. Requires organization:read across the whole business.

Request

  • Base URL
    https://app.fortuneos.ai
  • Auth
    none declared

Request body

object required
organizationId, string required

Response

OK

object required
loyaltyEnabled, boolean required
availability, 'loyaltyDisabled' | 'featureRestrictedByPlan' | 'featureNotEntitled' | 'billingReadOnly' | 'subscriptionEnded' nullable required

Changes