Entitlement Object
Represents an entitlement granted to a customer, including its usage and reset configuration.
Fields
#
accessDeniedReason
Optional message explaining why access to the feature is denied.
entitlementUpdatedAt
Timestamp of the last update to the entitlement grant or configuration.
enumValues
List of enum values applicable to this entitlement, if it is an enum feature.
hasSoftLimit
Indicates whether the usage limit is soft — usage can exceed the limit, but will be tracked.
hasUnlimitedUsage
Indicates whether this entitlement grants unlimited usage with no enforced cap.
hiddenFromWidgets
Indicates whether this entitlement should be hidden in customer-facing widgets.
isGranted
Indicates whether the entitlement is currently granted to the customer.
resetPeriod
The interval at which usage resets automatically, such as monthly or yearly.
resetPeriodConfiguration
Detailed configuration object specifying the usage reset schedule.
usagePeriodAnchor
The anchor for calculating the usage period for metered entitlements with a reset period configured
usagePeriodEnd
The end date of the usage period for metered entitlements with a reset period configured
usagePeriodStart
The start date of the usage period for metered entitlements with a reset period configured
Usages
#
References
#
- Field entitlements from ApplySubscription
- Field entitlements from CustomerPortal
- Field entitlements from EntitlementsUpdated
EligibleForTrial
EntitlementBehavior