--- title: CompanyLocationConnection - GraphQL Admin description: An auto-generated type for paginating through multiple CompanyLocations. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/connections/CompanyLocationConnection md: >- https://shopify.dev/docs/api/admin-graphql/unstable/connections/CompanyLocationConnection.md --- # Company​Location​Connection connection An auto-generated type for paginating through multiple CompanyLocations. ## Fields with this connection * [Company.locations](https://shopify.dev/docs/api/admin-graphql/unstable/objects/Company#field-Company.fields.locations) OBJECT A business entity that purchases from the shop as part of B2B commerce. Companies organize multiple locations and contacts who can place orders on behalf of the organization. [`CompanyLocation`](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyLocation) objects can have custom pricing through [`Catalog`](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Catalog) and [`PriceList`](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceList) configurations. * [Company​Location​Catalog.companyLocations](https://shopify.dev/docs/api/admin-graphql/unstable/objects/CompanyLocationCatalog#field-CompanyLocationCatalog.fields.companyLocations) OBJECT A list of products with publishing and pricing information associated with company locations. * [Company​Locations​Condition.companyLocations](https://shopify.dev/docs/api/admin-graphql/unstable/objects/CompanyLocationsCondition#field-CompanyLocationsCondition.fields.companyLocations) OBJECT A condition checking the company location a visitor is purchasing for. *** ## Queries with this connection * [company​Locations](https://shopify.dev/docs/api/admin-graphql/unstable/queries/companyLocations) query A paginated list of [`CompanyLocation`](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyLocation) objects for B2B customers. Company locations represent individual branches or offices of a [`Company`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Company) where B2B orders can be placed. Each location can have its own billing and shipping addresses, tax settings, [`PaymentTerms`](https://shopify.dev/docs/api/admin-graphql/latest/objects/PaymentTerms), and [`Catalog`](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Catalog) assignments with custom pricing. Use the query parameter to search locations by name or other attributes. Learn more about [managing company locations](https://shopify.dev/docs/apps/build/b2b/manage-client-company-locations). *** ## Possible returns * edges [\[Company​Location​Edge!\]!](https://shopify.dev/docs/api/admin-graphql/unstable/objects/CompanyLocationEdge) non-null The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. * nodes [\[Company​Location!\]!](https://shopify.dev/docs/api/admin-graphql/unstable/objects/CompanyLocation) non-null A list of nodes that are contained in CompanyLocationEdge. 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 * {}[Company.locations](https://shopify.dev/docs/api/admin-graphql/unstable/objects/Company#field-Company.fields.locations) * {}[Company​Location​Catalog.companyLocations](https://shopify.dev/docs/api/admin-graphql/unstable/objects/CompanyLocationCatalog#field-CompanyLocationCatalog.fields.companyLocations) * {}[Company​Locations​Condition.companyLocations](https://shopify.dev/docs/api/admin-graphql/unstable/objects/CompanyLocationsCondition#field-CompanyLocationsCondition.fields.companyLocations) ### Queries with this connection * \[company​Locations](https://shopify.dev/docs/api/admin-graphql/unstable/queries/companyLocations) ### Possible returns * <->[Company​Location​Connection.edges](https://shopify.dev/docs/api/admin-graphql/unstable/connections/CompanyLocationConnection#returns-edges) * <->[Company​Location​Connection.nodes](https://shopify.dev/docs/api/admin-graphql/unstable/connections/CompanyLocationConnection#returns-nodes) * <->[Company​Location​Connection.pageInfo](https://shopify.dev/docs/api/admin-graphql/unstable/connections/CompanyLocationConnection#returns-pageInfo)