---
title: "PageInfo"
description: >
  Returns information about pagination in a connection, in accordance with the Relay specification.
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/objects/page-info'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/objects/page-info.md'
---
# PageInfo

Returns information about pagination in a connection, in accordance with the Relay specification. 

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Fields

* `hasNextPage`

  [Boolean!](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/boolean.md)

  Whether there are more pages to fetch following the current page.

* `hasPreviousPage`

  [Boolean!](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/boolean.md)

  Whether there are any pages prior to the current page.

* `endCursor`

  [String](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  The cursor corresponding to the last node in edges.

* `startCursor`

  [String](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  The cursor corresponding to the first node in edges.

## Field from

* [StringConnection](https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/objects/string-connection.md).pageInfo

* [AppConnection](https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/objects/app-connection.md).pageInfo

* [SegmentConnection](https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/segment-connection.md).pageInfo

* [CustomerPointsRedemptionRuleConnection](https://developer.shopline.com/docs/admin-graph-ql-api/member-system/objects/customer-points-redemption-rule-connection.md).pageInfo

* [DiscountAutomaticNodeConnection](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-automatic-node-connection.md).pageInfo

* [DiscountNodeConnection](https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-node-connection.md).pageInfo

