--- title: businessEntities - GraphQL Admin description: |- Returns the list of [business entities](https://shopify.dev/docs/api/admin-graphql/latest/objects/BusinessEntity) associated with the shop. Use this query to retrieve business entities for assigning to markets, managing payment providers per entity, or viewing entity attribution on orders. Each shop can have multiple business entities with one designated as primary. To identify the primary entity in the query results, set the [`primary`](https://shopify.dev/docs/api/admin-graphql/latest/queries/businessEntities#returns-BusinessEntity.fields.primary) field to `true`. Learn more about [managing multiple legal entities](https://shopify.dev/docs/apps/build/markets/multiple-entities). api_version: 2025-01 api_name: admin type: query api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/2025-01/queries/businessentities md: https://shopify.dev/docs/api/admin-graphql/2025-01/queries/businessentities.md --- # business​Entities query Returns the list of [business entities](https://shopify.dev/docs/api/admin-graphql/latest/objects/BusinessEntity) associated with the shop. Use this query to retrieve business entities for assigning to markets, managing payment providers per entity, or viewing entity attribution on orders. Each shop can have multiple business entities with one designated as primary. To identify the primary entity in the query results, set the [`primary`](https://shopify.dev/docs/api/admin-graphql/latest/queries/businessEntities#returns-BusinessEntity.fields.primary) field to `true`. Learn more about [managing multiple legal entities](https://shopify.dev/docs/apps/build/markets/multiple-entities). ## Possible returns * Business​Entity [\[Business​Entity!\]!](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/BusinessEntity) A legal entity through which a merchant operates. Each business entity contains its own [`BusinessEntityAddress`](https://shopify.dev/docs/api/admin-graphql/latest/objects/BusinessEntityAddress), company information, and can be associated with its own [`ShopifyPaymentsAccount`](https://shopify.dev/docs/api/admin-graphql/latest/objects/ShopifyPaymentsAccount). [`Market`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Market) objects can be assigned to a business entity to determine payment processing and [`Order`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order) attribution. Every shop must have one primary business entity. Additional entities enable international operations by establishing legal presence in multiple countries. Learn more about [managing multiple legal entities](https://shopify.dev/docs/apps/build/markets/multiple-entities). *** ## Examples * ### businessEntities reference ## Query Reference ```graphql { businessEntities { # businessEntities fields } } ```