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

# customerSubscriptions



**query** `customerSubscriptions(filter: CustomerSubscriptionFilter, paging: CursorPaging, sorting: [CustomerSubscriptionSort!]): CustomerSubscriptionConnection!`

## Arguments

**`filter`**: `CustomerSubscriptionFilter` = {}

Specify to filter the records returned.

---

**`paging`**: `CursorPaging` = {first: 10}

Limit or page results.

---

**`sorting`**: `[CustomerSubscriptionSort!]` = [{direction: DESC, field: createdAt}]

Specify to sort results.

## Returns

`CustomerSubscriptionConnection!`

**`edges`**: `[CustomerSubscriptionEdge!]!`

Array of edges.

---

**`pageInfo`**: `PageInfo!`

Paging information

---

**`totalCount`**: `Int!`

Fetch total count of records

## Examples

```graphql Query
query CustomerSubscriptions {
  customerSubscriptions {
    edges {
      cursor
      node {
        additionalMetaData
        addons {
          __typename
        }
        billingCycleAnchor
        billingId
        billingLinkUrl
        billingPeriod
      }
    }
    pageInfo {
      endCursor
      hasNextPage
      hasPreviousPage
      startCursor
    }
    totalCount
  }
}
```

```json Response
{
  "data": {
    "customerSubscriptions": {
      "edges": [
        {
          "cursor": "value",
          "node": {
            "additionalMetaData": "value",
            "addons": [
              {
                "__typename": "SubscriptionAddon"
              }
            ],
            "billingCycleAnchor": "value",
            "billingId": "string",
            "billingLinkUrl": "string",
            "billingPeriod": "ANNUALLY"
          }
        }
      ],
      "pageInfo": {
        "endCursor": "value",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "value"
      },
      "totalCount": 1
    }
  }
}
```


## Related topics

- [CustomerSubscription](https://docs.stigg.io/graphql-reference/types/CustomerSubscription.md)
- [Managing customers subscriptions](https://docs.stigg.io/documentation/managing-customers-and-subscriptions/customers/manage-customer-subscription.md)
- [CustomerSubscriptionConnection](https://docs.stigg.io/graphql-reference/types/CustomerSubscriptionConnection.md)
- [CustomerSubscriptionEdge](https://docs.stigg.io/graphql-reference/types/CustomerSubscriptionEdge.md)
- [CustomerSubscriptionFilter](https://docs.stigg.io/graphql-reference/types/CustomerSubscriptionFilter.md)


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