useEntity hook fetches entity data. Entities are sub-resources of customers, typically used for per-seat or per-resource billing.
Parameters
string
required
The ID of the entity to retrieve.
UseQueryOptions
Optional TanStack Query options to customize caching and refetching behavior.