--- title: LineItemConnection - Customer API description: An auto-generated type for paginating through multiple LineItems. api_version: 2025-01 api_name: customer type: connection api_type: graphql source_url: html: 'https://shopify.dev/docs/api/customer/2025-01/connections/LineItemConnection' md: >- https://shopify.dev/docs/api/customer/2025-01/connections/LineItemConnection.md --- # Line​Item​Connection connection An auto-generated type for paginating through multiple LineItems. ## Fields with this connection * [Order.lineItems](https://shopify.dev/docs/api/customer/2025-01/objects/Order#field-Order.fields.lineItems) OBJECT 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). *** ## Possible returns * edges [\[Line​Item​Edge!\]!](https://shopify.dev/docs/api/customer/2025-01/objects/LineItemEdge) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. * nodes [\[Line​Item!\]!](https://shopify.dev/docs/api/customer/2025-01/objects/LineItem) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) A list of nodes that are contained in LineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. * page​Info [Page​Info!](https://shopify.dev/docs/api/customer/2025-01/objects/PageInfo) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. *** ## Map ### Fields with this connection * {}[Order.lineItems](https://shopify.dev/docs/api/customer/2025-01/objects/Order#field-Order.fields.lineItems) ### Possible returns * <->[Line​Item​Connection.edges](https://shopify.dev/docs/api/customer/2025-01/connections/LineItemConnection#returns-edges) * <->[Line​Item​Connection.nodes](https://shopify.dev/docs/api/customer/2025-01/connections/LineItemConnection#returns-nodes) * <->[Line​Item​Connection.pageInfo](https://shopify.dev/docs/api/customer/2025-01/connections/LineItemConnection#returns-pageInfo)