Special Fields
These are fields that are readable by all delegated and admin APIs, but are not directly mutable by patch APIs. These instead require special set of APIs that have built-in rules.
Verifications
See verifications API usage here. Verifications are exclusive to admin APIs.
- verified
- verifiedDate
- verifiedBy
Suspensions
See ban API usage here (Client API) and here (Admin API)
- isBanned
- bannedDate
- bannedBy
Restricted Accounts
By default, Liquid does not use isRestricted
flag for anything at all. But this is a useful feature if you want to shadow ban a user. For instance, based on this flag, you could decide to restrict how often people see a user's post. See restrict API usage here (Client API) and here (Admin API)
- isRestricted
- restrictedDate
- restrictedBy
Credits / Virtual Money
Credits are usually similar to virtual money that you can use for controlling paid features. You can also use this as a reward points system. See usage here (Client API) and here (Admin API)
- credits
Subscriptions
Subscription fields manage user subscription status, tiers, and cancellation information. See usage for managing subscriptions here (Client API) and here (Admin API). See usage for cancelling subscriptions here (Client API) and here (Admin API)
- isSubscribed - Boolean indicating if the user has an active subscription
- subscriptionTier - String representing the subscription tier (e.g., "basic", "premium")
- subscriptionIdentifier - String or Number for external subscription tracking (e.g., payment system ID)
- subscriptionActivatedAt - Date when the subscription was activated
- subscriptionExpiry - Date when the subscription expires
- subscriptionCancelled - Boolean indicating if the subscription has been cancelled
- subscriptionCancelledAt - Date when the subscription was cancelled