--- title: order - Customer API description: >- 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). api_version: unstable api_name: customer source_url: html: 'https://shopify.dev/docs/api/customer/unstable/queries/order' md: 'https://shopify.dev/docs/api/customer/unstable/queries/order.md' --- # order query 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). ## Arguments * id [ID!](https://shopify.dev/docs/api/customer/unstable/scalars/ID) required The ID of the Order to return. *** ## Possible returns * Order [Order](https://shopify.dev/docs/api/customer/unstable/objects/Order) A customer’s completed request to purchase one or more products from a shop. Apps using the Customer Account API must meet the protected customer data [requirements](https://shopify.dev/docs/apps/launch/protected-customer-data). *** ## Examples * ### order reference ## Query Reference ```graphql { order(id) { # order fields } } ```