--- title: LocationConnection - Storefront API description: | An auto-generated type for paginating through multiple Locations. api_version: 2024-10 api_name: storefront type: connection api_type: graphql source_url: html: >- https://shopify.dev/docs/api/storefront/2024-10/connections/LocationConnection md: >- https://shopify.dev/docs/api/storefront/2024-10/connections/LocationConnection.txt --- # Location​Connection connection An auto-generated type for paginating through multiple Locations. ## Queries with this connection * [locations](https://shopify.dev/docs/api/storefront/2024-10/queries/locations) query List of the shop's locations that support in-store pickup. When sorting by distance, you must specify a location via the `near` argument. *** ## Possible returns * edges [\[Location​Edge!\]!](https://shopify.dev/docs/api/storefront/2024-10/objects/LocationEdge) non-null A list of edges. * nodes [\[Location!\]!](https://shopify.dev/docs/api/storefront/2024-10/objects/Location) non-null A list of the nodes contained in LocationEdge. * page​Info [Page​Info!](https://shopify.dev/docs/api/storefront/2024-10/objects/PageInfo) non-null Information to aid in pagination. *** ## Map ### Queries with this connection * \[locations](https://shopify.dev/docs/api/storefront/2024-10/connections/locations) ### Possible returns * <->[Location​Connection.edges](https://shopify.dev/docs/api/storefront/2024-10/objects/LocationConnection#field-edges) * <->[Location​Connection.nodes](https://shopify.dev/docs/api/storefront/2024-10/objects/LocationConnection#field-nodes) * <->[Location​Connection.pageInfo](https://shopify.dev/docs/api/storefront/2024-10/objects/LocationConnection#field-pageInfo)