--- title: QueryRoot - Customer API description: This acts as the public, top-level API from which all queries start. api_version: unstable api_name: customer source_url: html: https://shopify.dev/docs/api/customer/unstable/objects/queryroot md: https://shopify.dev/docs/api/customer/unstable/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/unstable/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). * id [ID!](https://shopify.dev/docs/api/customer/unstable/scalars/ID) required ### Arguments The ID of the Company. *** * company​Location [Company​Location](https://shopify.dev/docs/api/customer/unstable/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). * id [ID!](https://shopify.dev/docs/api/customer/unstable/scalars/ID) required ### Arguments The ID of the Location. *** * customer [Customer!](https://shopify.dev/docs/api/customer/unstable/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/unstable/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). * id [ID!](https://shopify.dev/docs/api/customer/unstable/scalars/ID) required ### Arguments The ID of the draft order to be returned. *** * order [Order](https://shopify.dev/docs/api/customer/unstable/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). * id [ID!](https://shopify.dev/docs/api/customer/unstable/scalars/ID) required ### Arguments The ID of the Order to return. *** * return [Return](https://shopify.dev/docs/api/customer/unstable/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). * id [ID!](https://shopify.dev/docs/api/customer/unstable/scalars/ID) required ### Arguments The ID of the Return. *** * return​Calculate [Calculated​Return](https://shopify.dev/docs/api/customer/unstable/objects/CalculatedReturn) The calculated monetary value of the return. * input [Calculate​Return​Input!](https://shopify.dev/docs/api/customer/unstable/input-objects/CalculateReturnInput) required ### Arguments The input fields for calculating a return. *** * shop [Shop!](https://shopify.dev/docs/api/customer/unstable/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