> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# FetchEntitlementQuery

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



**Kind**: `input`

## Fields

**`customerId`**: `String!` (required)

Identifier of the customer.

---

**`environmentId`**: `String`

The environment identifier used to resolve the entitlement context.

---

**`featureId`**: `String!` (required)

The internal ID of the feature linked to this entitlement.

---

**`options`**: `EntitlementOptions`

Options for configuring how an entitlement is tracked or applied.

---

**`resourceId`**: `String`

The scoped resource Identifier.



## Related topics

- [FetchEntitlementsQuery](https://docs.stigg.io/graphql-reference/types/FetchEntitlementsQuery.md)
- [entitlement](https://docs.stigg.io/graphql-reference/queries/entitlement.md)
- [entitlementV2](https://docs.stigg.io/graphql-reference/queries/entitlementV2.md)
- [entitlements](https://docs.stigg.io/graphql-reference/queries/entitlements.md)
- [Overview](https://docs.stigg.io/documentation/governance/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.