--- title: SegmentConnection - GraphQL Admin description: An auto-generated type for paginating through multiple Segments. api_version: 2025-10 api_name: admin type: connection api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/connections/segmentconnection md: https://shopify.dev/docs/api/admin-graphql/latest/connections/segmentconnection.md --- # Segment​Connection connection An auto-generated type for paginating through multiple Segments. ## Queries with this connection * [segments](https://shopify.dev/docs/api/admin-graphql/latest/queries/segments) query A list of a shop's segments. *** ## Possible returns * edges [\[Segment​Edge!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/SegmentEdge) non-null The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. * nodes [\[Segment!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/Segment) non-null A list of nodes that are contained in SegmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. * page​Info [Page​Info!](https://shopify.dev/docs/api/admin-graphql/latest/objects/PageInfo) non-null An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. *** ## Map ### Queries with this connection * \[segments](https://shopify.dev/docs/api/admin-graphql/latest/queries/segments) ### Possible returns * <->[Segment​Connection.edges](https://shopify.dev/docs/api/admin-graphql/latest/connections/SegmentConnection#returns-edges) * <->[Segment​Connection.nodes](https://shopify.dev/docs/api/admin-graphql/latest/connections/SegmentConnection#returns-nodes) * <->[Segment​Connection.pageInfo](https://shopify.dev/docs/api/admin-graphql/latest/connections/SegmentConnection#returns-pageInfo)