--- title: LocationConnection - GraphQL Admin description: An auto-generated type for paginating through multiple Locations. api_version: 2025-10 api_name: admin type: connection api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/connections/locationconnection md: https://shopify.dev/docs/api/admin-graphql/latest/connections/locationconnection.md --- # Location​Connection connection An auto-generated type for paginating through multiple Locations. ## Fields with this connection * [Delivery​Location​Group.locations](https://shopify.dev/docs/api/admin-graphql/latest/objects/DeliveryLocationGroup#field-DeliveryLocationGroup.fields.locations) OBJECT A location group is a collection of locations. They share zones and delivery methods across delivery profiles. * [Delivery​Profile.unassignedLocationsPaginated](https://shopify.dev/docs/api/admin-graphql/latest/objects/DeliveryProfile#field-DeliveryProfile.fields.unassignedLocationsPaginated) OBJECT A shipping profile. In Shopify, a shipping profile is a set of shipping rates scoped to a set of products or variants that can be shipped from selected locations to zones. Learn more about [building with delivery profiles](https://shopify.dev/apps/build/purchase-options/deferred/delivery-and-deferment/build-delivery-profiles). * [Locations​Condition.locations](https://shopify.dev/docs/api/admin-graphql/latest/objects/LocationsCondition#field-LocationsCondition.fields.locations) OBJECT A condition checking the location that the visitor is shopping from. * [Shop.locations](https://shopify.dev/docs/api/admin-graphql/latest/objects/Shop#field-Shop.fields.locations) OBJECT Deprecated *** ## Queries with this connection * [locations](https://shopify.dev/docs/api/admin-graphql/latest/queries/locations) query Returns a list of active inventory locations. * [locations​Available​For​Delivery​Profiles​Connection](https://shopify.dev/docs/api/admin-graphql/latest/queries/locationsAvailableForDeliveryProfilesConnection) query Returns a list of all origin locations available for a delivery profile. *** ## Possible returns * edges [\[Location​Edge!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/LocationEdge) non-null The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. * nodes [\[Location!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/Location) non-null A list of nodes that are contained in LocationEdge. 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 ### Fields with this connection * {}[Delivery​Location​Group.locations](https://shopify.dev/docs/api/admin-graphql/latest/objects/DeliveryLocationGroup#field-DeliveryLocationGroup.fields.locations) * {}[Delivery​Profile.unassignedLocationsPaginated](https://shopify.dev/docs/api/admin-graphql/latest/objects/DeliveryProfile#field-DeliveryProfile.fields.unassignedLocationsPaginated) * {}[Locations​Condition.locations](https://shopify.dev/docs/api/admin-graphql/latest/objects/LocationsCondition#field-LocationsCondition.fields.locations) ### Queries with this connection * \[locations](https://shopify.dev/docs/api/admin-graphql/latest/queries/locations) * \[locations​Available​For​Delivery​Profiles​Connection](https://shopify.dev/docs/api/admin-graphql/latest/queries/locationsAvailableForDeliveryProfilesConnection) ### Possible returns * <->[Location​Connection.edges](https://shopify.dev/docs/api/admin-graphql/latest/connections/LocationConnection#returns-edges) * <->[Location​Connection.nodes](https://shopify.dev/docs/api/admin-graphql/latest/connections/LocationConnection#returns-nodes) * <->[Location​Connection.pageInfo](https://shopify.dev/docs/api/admin-graphql/latest/connections/LocationConnection#returns-pageInfo)