--- title: BaseCartLineConnection - Storefront API description: | An auto-generated type for paginating through multiple BaseCartLines. api_version: 2026-01 api_name: storefront type: connection api_type: graphql source_url: html: >- https://shopify.dev/docs/api/storefront/latest/connections/BaseCartLineConnection md: >- https://shopify.dev/docs/api/storefront/latest/connections/BaseCartLineConnection.md --- # Base​Cart​Line​Connection connection An auto-generated type for paginating through multiple BaseCartLines. ## Fields with this connection * [Cart.lines](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-Cart.fields.lines) OBJECT A cart represents the merchandise that a buyer intends to purchase, and the estimated cost associated with the cart, throughout a customer's session. Use the [`checkoutUrl`](https://shopify.dev/docs/api/storefront/current/objects/Cart#field-checkoutUrl) field to direct buyers to Shopify's web checkout to complete their purchase. Learn more about [interacting with carts](https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/cart/manage). * [Cart​Delivery​Group.cartLines](https://shopify.dev/docs/api/storefront/latest/objects/CartDeliveryGroup#field-CartDeliveryGroup.fields.cartLines) OBJECT Groups cart line items that share the same delivery destination. Each group provides the available [`CartDeliveryOption`](https://shopify.dev/docs/api/storefront/current/objects/CartDeliveryOption) choices for that address, along with the customer's selected option. Access through the [`Cart`](https://shopify.dev/docs/api/storefront/current/objects/Cart) object's `deliveryGroups` field. Items are grouped by merchandise type (one-time purchase vs subscription), allowing different delivery methods for each. *** ## Possible returns * edges [\[Base​Cart​Line​Edge!\]!](https://shopify.dev/docs/api/storefront/latest/objects/BaseCartLineEdge) non-null A list of edges. * nodes [\[Base​Cart​Line!\]!](https://shopify.dev/docs/api/storefront/latest/interfaces/BaseCartLine) non-null A list of the nodes contained in BaseCartLineEdge. * page​Info [Page​Info!](https://shopify.dev/docs/api/storefront/latest/objects/PageInfo) non-null Information to aid in pagination. *** ## Map ### Fields with this connection * [Cart.lines](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-Cart.fields.lines) * [Cart​Delivery​Group.cartLines](https://shopify.dev/docs/api/storefront/latest/objects/CartDeliveryGroup#field-CartDeliveryGroup.fields.cartLines) ### Possible returns * [Base​Cart​Line​Connection.edges](https://shopify.dev/docs/api/storefront/latest/connections/BaseCartLineConnection#returns-edges) * [Base​Cart​Line​Connection.nodes](https://shopify.dev/docs/api/storefront/latest/connections/BaseCartLineConnection#returns-nodes) * [Base​Cart​Line​Connection.pageInfo](https://shopify.dev/docs/api/storefront/latest/connections/BaseCartLineConnection#returns-pageInfo)