Type alias FetchEntitlementQuery

FetchEntitlementQuery: { customerId: Scalars["String"]; environmentId?: InputMaybe<Scalars["String"]>; featureId: Scalars["String"]; options?: InputMaybe<EntitlementOptions>; resourceId?: InputMaybe<Scalars["String"]> }

Query for fetching a single entitlement for a specific feature and customer.

Type declaration

  • customerId: Scalars["String"]

    Identifier of the customer.

  • Optional environmentId?: InputMaybe<Scalars["String"]>

    The environment identifier used to resolve the entitlement context.

  • featureId: Scalars["String"]

    The internal ID of the feature linked to this entitlement.

  • Optional options?: InputMaybe<EntitlementOptions>

    Options for configuring how an entitlement is tracked or applied.

  • Optional resourceId?: InputMaybe<Scalars["String"]>

    The scoped resource Identifier.