--- title: CompanyLocation - Customer API description: Represents a company's business location. api_version: 2025-10 api_name: customer type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/customer/latest/objects/companylocation md: https://shopify.dev/docs/api/customer/latest/objects/companylocation.md --- # Company​Location object Represents a company's business location. ## Fields * billing​Address [Company​Address](https://shopify.dev/docs/api/customer/latest/objects/CompanyAddress) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The billing address of the company location. * buyer​Experience​Configuration [Buyer​Experience​Configuration](https://shopify.dev/docs/api/customer/latest/objects/BuyerExperienceConfiguration) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The configuration of the buyer's B2B checkout. * contacts [Company​Contact​Connection!](https://shopify.dev/docs/api/customer/latest/connections/CompanyContactConnection) non-null The list of contacts under a particular business location. * draft​Orders [Draft​Order​Connection!](https://shopify.dev/docs/api/customer/latest/connections/DraftOrderConnection) non-null The list of company draft orders. * external​Id [String](https://shopify.dev/docs/api/customer/latest/scalars/String) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) A unique externally-supplied ID for the location. * id [ID!](https://shopify.dev/docs/api/customer/latest/scalars/ID) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) A globally-unique ID. * metafield [Metafield](https://shopify.dev/docs/api/customer/latest/objects/Metafield) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) A metafield found by namespace and key. * metafields [\[Metafield\]!](https://shopify.dev/docs/api/customer/latest/objects/Metafield) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The metafields associated with the resource matching the supplied list of namespaces and keys. * name [String!](https://shopify.dev/docs/api/customer/latest/scalars/String) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The name of the company location. * orders [Order​Connection!](https://shopify.dev/docs/api/customer/latest/connections/OrderConnection) non-null The list of customer orders under the company. * role​Assignments [Company​Contact​Role​Assignment​Connection!](https://shopify.dev/docs/api/customer/latest/connections/CompanyContactRoleAssignmentConnection) non-null The list of roles assigned to this location. * shipping​Address [Company​Address](https://shopify.dev/docs/api/customer/latest/objects/CompanyAddress) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The shipping address of the company location. * store​Credit​Accounts [Store​Credit​Account​Connection!](https://shopify.dev/docs/api/customer/latest/connections/StoreCreditAccountConnection) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) A list of the owner resource's store credit accounts. Store credit accounts are not shown for shops with store credit disabled at checkout. * tax​Identifier [String](https://shopify.dev/docs/api/customer/latest/scalars/String) The tax id of the company location. * market [Market!](https://shopify.dev/docs/api/customer/latest/objects/Market) non-nullDeprecated[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) *** ## Map ### Fields and connections with this object * {}[Company.locations](https://shopify.dev/docs/api/customer/latest/objects/Company#field-locations) * {}[CompanyContact.locations](https://shopify.dev/docs/api/customer/latest/objects/CompanyContact#field-locations) * <->[CompanyLocationConnection.nodes](https://shopify.dev/docs/api/customer/latest/connections/CompanyLocationConnection#field-nodes) * {}[CompanyLocationEdge.node](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocationEdge#field-node) * {}[PurchasingCompany.location](https://shopify.dev/docs/api/customer/latest/objects/PurchasingCompany#field-location) *** ## Queries * [company​Location](https://shopify.dev/docs/api/customer/latest/queries/companyLocation) query The Location corresponding to the provided ID. Apps using the Customer Account API must meet the protected customer data [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data). *** ## \CompanyLocation Queries ### Queried by * \[company​Location](https://shopify.dev/docs/api/customer/latest/queries/CompanyLocation) *** ## Interfaces * * [Has​Metafields](https://shopify.dev/docs/api/customer/latest/interfaces/HasMetafields) interface * [Has​Store​Credit​Accounts](https://shopify.dev/docs/api/customer/latest/interfaces/HasStoreCreditAccounts) interface * [Node](https://shopify.dev/docs/api/customer/latest/interfaces/Node) interface *** ## ||-CompanyLocation Implements ### Implements * ||-[Has​Metafields](https://shopify.dev/docs/api/customer/latest/interfaces/HasMetafields) * ||-[Has​Store​Credit​Accounts](https://shopify.dev/docs/api/customer/latest/interfaces/HasStoreCreditAccounts) * ||-[Node](https://shopify.dev/docs/api/customer/latest/interfaces/Node)