--- title: CartLine - Storefront API description: Represents information about the merchandise in the cart. api_version: 2026-01 api_name: storefront type: object api_type: graphql source_url: html: 'https://shopify.dev/docs/api/storefront/latest/objects/CartLine' md: 'https://shopify.dev/docs/api/storefront/latest/objects/CartLine.md' --- # Cart​Line object Represents information about the merchandise in the cart. ## Fields * attribute * attributes * cost * discountAllocations * id * instructions * merchandise * parentRelationship * quantity * sellingPlanAllocation * estimatedCost: deprecated *** ## Map ### Fields with this object * [CartLineParentRelationship.parent](https://shopify.dev/docs/api/storefront/latest/objects/CartLineParentRelationship#field-CartLineParentRelationship.fields.parent) * [ComponentizableCartLine.lineComponents](https://shopify.dev/docs/api/storefront/latest/objects/ComponentizableCartLine#field-ComponentizableCartLine.fields.lineComponents) *** ## Interfaces * BaseCartLine * Node *** ## CartLine Implements ### Implements * [Base​Cart​Line](https://shopify.dev/docs/api/storefront/latest/interfaces/BaseCartLine) * [Node](https://shopify.dev/docs/api/storefront/latest/interfaces/Node)