> ## 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.

# FetchEntitlementsQuery

> Query for retrieving all entitlements for a customer in a specific environment.



**Kind**: `input`

## Fields

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

Identifier of the customer.

---

**`environmentId`**: `String`

The environment context for entitlement resolution.

---

**`resourceId`**: `String`

The scoped resource Identifier.



## Related topics

- [FetchEntitlementQuery](https://docs.stigg.io/graphql-reference/types/FetchEntitlementQuery.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.