Types
EntitlementsUpdatedV2
Event payload for when entitlements are updated for a customer (v2 with polymorphic entitlements).
object
EntitlementsUpdatedV2Fields
accessDeniedReason
The reason why access is denied.
accountId
String!
The unique identifier for the account
customerId
String!
Identifier of the customer whose entitlements have changed.
entitlements
[EntitlementUnion!]!
The updated list of polymorphic entitlements (feature and credit) for the customer.
entitlementsUpdatedAt
DateTime!
When these entitlements last changed. The latest of the entitlement, customer and subscription update times; always set, also when the list is empty.
environmentId
UUID!
The unique identifier for the environment
resourceId
String
The resource the entitlement update is scoped to.