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

# CustomerResource

> Resource object that belongs to a customer



**Kind**: `object`

## Fields

**`createdAt`**: `DateTime!`

Timestamp of when the record was created

---

**`customer`**: `Customer!`

---

**`environmentId`**: `UUID!`

The unique identifier for the environment

---

**`resourceId`**: `String!`

Resource slug

---

**`subscriptions`**: `[CustomerSubscription!]!`

**Arguments:**

- `filter`: `CustomerSubscriptionFilter` = {status: {in: [ACTIVE, IN_TRIAL]}} — Specify to filter the records returned.
- `sorting`: `[CustomerSubscriptionSort!]` = [{direction: DESC, field: createdAt}] — Specify to sort results.



## Related topics

- [customerResources](https://docs.stigg.io/graphql-reference/queries/customerResources.md)
- [Get a list of customer resources](https://docs.stigg.io/api-reference/customers/get-a-list-of-customer-resources.md)
- [CustomerResourceConnection](https://docs.stigg.io/graphql-reference/types/CustomerResourceConnection.md)
- [CustomerResourceEdge](https://docs.stigg.io/graphql-reference/types/CustomerResourceEdge.md)
- [CustomerResourceFilter](https://docs.stigg.io/graphql-reference/types/CustomerResourceFilter.md)


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