--- title: LocationConnection - GraphQL Admin description: An auto-generated type for paginating through multiple Locations. api_version: unstable api_name: admin source_url: html: https://shopify.dev/docs/api/admin-graphql/unstable/connections/locationconnection md: https://shopify.dev/docs/api/admin-graphql/unstable/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/unstable/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/unstable/objects/DeliveryProfile#field-DeliveryProfile.fields.unassignedLocationsPaginated) OBJECT A shipping profile that defines shipping rates for specific [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) objects and [`ProductVariant`](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) objects. Delivery profiles determine which products can ship from which [`Location`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Location) objects to which zones, and at what rates. Profiles can associate with [`SellingPlanGroup`](https://shopify.dev/docs/api/admin-graphql/latest/objects/SellingPlanGroup) objects to provide custom shipping rules for subscriptions, such as free shipping or restricted delivery zones. The default profile applies to all products that aren't assigned to other profiles. Learn more about [building 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/unstable/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/unstable/objects/Shop#field-Shop.fields.locations) OBJECT Deprecated *** ## Queries with this connection * [locations](https://shopify.dev/docs/api/admin-graphql/unstable/queries/locations) query Returns a list of active inventory locations. * [locations​Available​For​Delivery​Profiles​Connection](https://shopify.dev/docs/api/admin-graphql/unstable/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/unstable/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/unstable/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/unstable/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/unstable/objects/DeliveryLocationGroup#field-DeliveryLocationGroup.fields.locations) * {}[Delivery​Profile.unassignedLocationsPaginated](https://shopify.dev/docs/api/admin-graphql/unstable/objects/DeliveryProfile#field-DeliveryProfile.fields.unassignedLocationsPaginated) * {}[Locations​Condition.locations](https://shopify.dev/docs/api/admin-graphql/unstable/objects/LocationsCondition#field-LocationsCondition.fields.locations) ### Queries with this connection * \[locations](https://shopify.dev/docs/api/admin-graphql/unstable/queries/locations) * \[locations​Available​For​Delivery​Profiles​Connection](https://shopify.dev/docs/api/admin-graphql/unstable/queries/locationsAvailableForDeliveryProfilesConnection) ### Possible returns * <->[Location​Connection.edges](https://shopify.dev/docs/api/admin-graphql/unstable/connections/LocationConnection#returns-edges) * <->[Location​Connection.nodes](https://shopify.dev/docs/api/admin-graphql/unstable/connections/LocationConnection#returns-nodes) * <->[Location​Connection.pageInfo](https://shopify.dev/docs/api/admin-graphql/unstable/connections/LocationConnection#returns-pageInfo)