List the organization's passes

Changed on

The organization's live passes, newest first, or with includeArchived the archived ones too, each marked by isArchived: each pass item's id, name, category and price in minor currency units, its validity in days, its allowance of allowanceCount uses per allowancePeriod (day, week or month), and the catalog items it covers. 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/list

Request

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

Request body

object required
organizationId, string required
includeArchived, boolean

Response

OK

object[] required
id, string required
isArchived, boolean required
name, string required
categoryId, string nullable required
priceCents, integer required
validityDays, integer required
allowanceCount, integer required
allowancePeriod, 'day' | 'week' | 'month' required
includedItemIds, string[] required

Changes