# getEntitlementById **Type:** GraphQL queries **Description:** Fetches an Entitlement by its ID ## Arguments - entitlementId (String) ## Response **Type:** EntitlementDetail **Description:** Entitlement details including associated accounts and line items ### Fields - accounts (Account): Represents the accounts associated with the entitlement - attributes (Attribute): Represents the custom attributes associated with the entitlement - createdOn (String): Represents the date and time when the entitlement was created - description (String): Human readable description of the entitlement - entitlementId (String): Unique identifier of the entitlement - lineItems (LineItemDetail): List of line items associated with the entitlement - shipToAddress (String): Represents the shipping address associated with the entitlement - shipToEmail (String): Email address associated with shipment contact - status (String): status could be one of the following values: ACTIVE, INACTIVE, DRAFT, DEPLOYED, OBSOLETE - updatedOn (String): Represents the date and time when the entitlement was last updated