--- title: PageConnection - Storefront API description: | An auto-generated type for paginating through multiple Pages. api_version: 2025-01 api_name: storefront type: connection api_type: graphql source_url: html: 'https://shopify.dev/docs/api/storefront/2025-01/connections/PageConnection' md: >- https://shopify.dev/docs/api/storefront/2025-01/connections/PageConnection.md --- # Page​Connection connection An auto-generated type for paginating through multiple Pages. ## Queries with this connection * [pages](https://shopify.dev/docs/api/storefront/2025-01/queries/pages) query List of the shop's pages. * first [Int](https://shopify.dev/docs/api/storefront/2025-01/scalars/Int) ### Arguments Returns up to the first `n` elements from the list. * after [String](https://shopify.dev/docs/api/storefront/2025-01/scalars/String) Returns the elements that come after the specified cursor. * last [Int](https://shopify.dev/docs/api/storefront/2025-01/scalars/Int) Returns up to the last `n` elements from the list. * before [String](https://shopify.dev/docs/api/storefront/2025-01/scalars/String) Returns the elements that come before the specified cursor. * reverse [Boolean](https://shopify.dev/docs/api/storefront/2025-01/scalars/Boolean) Default:false Reverse the order of the underlying list. * sort​Key [Page​Sort​Keys](https://shopify.dev/docs/api/storefront/2025-01/enums/PageSortKeys) Default:ID Sort the underlying list by the given key. * query [String](https://shopify.dev/docs/api/storefront/2025-01/scalars/String) Apply one or multiple filters to the query. Refer to the detailed [search syntax](https://shopify.dev/api/usage/search-syntax) for more information about using filters. * created\_at * handle * title * updated\_at *** *** ## Possible returns * edges [\[Page​Edge!\]!](https://shopify.dev/docs/api/storefront/2025-01/objects/PageEdge) non-null A list of edges. * nodes [\[Page!\]!](https://shopify.dev/docs/api/storefront/2025-01/objects/Page) non-null A list of the nodes contained in PageEdge. * page​Info [Page​Info!](https://shopify.dev/docs/api/storefront/2025-01/objects/PageInfo) non-null Information to aid in pagination. *** ## Map ### Queries with this connection * \[pages](https://shopify.dev/docs/api/storefront/2025-01/queries/pages) ### Possible returns * <->[Page​Connection.edges](https://shopify.dev/docs/api/storefront/2025-01/connections/PageConnection#returns-edges) * <->[Page​Connection.nodes](https://shopify.dev/docs/api/storefront/2025-01/connections/PageConnection#returns-nodes) * <->[Page​Connection.pageInfo](https://shopify.dev/docs/api/storefront/2025-01/connections/PageConnection#returns-pageInfo)