--- title: QueryRoot - Customer API description: This acts as the public, top-level API from which all queries start. api_version: 2025-10 api_name: customer type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/customer/latest/objects/queryroot md: https://shopify.dev/docs/api/customer/latest/objects/queryroot.md --- # Query​Root object This acts as the public, top-level API from which all queries start. ## Fields * company [Company](https://shopify.dev/docs/api/customer/latest/objects/Company) The information of the customer's company. Apps using the Customer Account API must meet the protected customer data [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data). * company​Location [Company​Location](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation) 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). * customer [Customer!](https://shopify.dev/docs/api/customer/latest/objects/Customer) non-null Returns the Customer resource. Apps using the Customer Account API must meet the protected customer data [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data). * draft​Order [Draft​Order](https://shopify.dev/docs/api/customer/latest/objects/DraftOrder) Returns a draft order resource by ID. Apps using the Customer Account API must meet the protected customer data [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data). * order [Order](https://shopify.dev/docs/api/customer/latest/objects/Order) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) Returns an Order resource by ID. Apps using the Customer Account API must meet the protected customer data [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data). * return [Return](https://shopify.dev/docs/api/customer/latest/objects/Return) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) Returns a Return resource by ID. Apps using the Customer Account API must meet the protected customer data [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data). * return​Calculate [Calculated​Return](https://shopify.dev/docs/api/customer/latest/objects/CalculatedReturn) The calculated monetary value of the return. * shop [Shop!](https://shopify.dev/docs/api/customer/latest/objects/Shop) non-null Returns the information about the shop. Apps using the Customer Account API must meet the protected customer data [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data). *** ## Map No referencing types