Read the organization's pass figures

Changed on

On the calendar of timeZone: for each pass with any, the sales and renewals made this month (soldThisMonthCount) and what they took in minor currency units (soldThisMonthCents), counting voided passes, and the passes held active today (activeCount: status active, an end day not passed, a customer not archived), which is also how many guests hold it; and activeHolders, the guests holding any pass active. Refused with FORBIDDEN as passesDisabled while the passes 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.

post/api/public/v1/passes/figures

Request

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

Request body

object required
organizationId, string required
timeZone, string required

Response

OK

object required
activeHolders, integer required
passes, object[] required

Changes

    • info

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

    • info

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

    • info

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