--- title: LineItem - Customer API description: A single line item in an order. api_version: 2025-10 api_name: customer type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/customer/latest/objects/lineitem md: https://shopify.dev/docs/api/customer/latest/objects/lineitem.md --- # Line​Item object A single line item in an order. ## Fields * current​Total​Price [Money​V2](https://shopify.dev/docs/api/customer/latest/objects/MoneyV2) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The total price of the line item, calculated by multiplying the current unit price of the variant by the quantity, expressed in presentment currencies. * custom​Attributes [\[Attribute!\]!](https://shopify.dev/docs/api/customer/latest/objects/Attribute) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The list of custom attributes associated with the line item. * discount​Allocations [\[Discount​Allocation!\]!](https://shopify.dev/docs/api/customer/latest/objects/DiscountAllocation) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The discounts that have been allocated onto the line item by discount applications. * gift​Card [Boolean!](https://shopify.dev/docs/api/customer/latest/scalars/Boolean) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) Whether the line item represents the purchase of a gift card. * group [Line​Item​Group](https://shopify.dev/docs/api/customer/latest/objects/LineItemGroup) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The line item group associated to the line item. * id [ID!](https://shopify.dev/docs/api/customer/latest/scalars/ID) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) A globally-unique ID. * image [Image](https://shopify.dev/docs/api/customer/latest/objects/Image) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The image object associated with the line item. * name [String!](https://shopify.dev/docs/api/customer/latest/scalars/String) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The name of the product. * presentment​Title [String](https://shopify.dev/docs/api/customer/latest/scalars/String) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The title of the line item variant. * price [Money​V2](https://shopify.dev/docs/api/customer/latest/objects/MoneyV2) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The product variant price without any discounts applied, in presentment currencies. * product​Id [ID](https://shopify.dev/docs/api/customer/latest/scalars/ID) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The product's ID. * product​Type [String](https://shopify.dev/docs/api/customer/latest/scalars/String) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The product's type. * quantity [Int!](https://shopify.dev/docs/api/customer/latest/scalars/Int) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The number of variant items ordered. * refundable​Quantity [Int!](https://shopify.dev/docs/api/customer/latest/scalars/Int) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The quantity of the line item, minus the refunded quantity. * requires​Shipping [Boolean!](https://shopify.dev/docs/api/customer/latest/scalars/Boolean) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) Whether physical shipping is required for the variant. * sku [String](https://shopify.dev/docs/api/customer/latest/scalars/String) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The SKU number of the variant. * title [String!](https://shopify.dev/docs/api/customer/latest/scalars/String) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The title of the product or variant. This field only applies to custom line items. * total​Discount [Money​V2!](https://shopify.dev/docs/api/customer/latest/objects/MoneyV2) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The total of the discount allocations on this line item, resulting from discounts applied specifically to this line item. * total​Price [Money​V2](https://shopify.dev/docs/api/customer/latest/objects/MoneyV2) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The total price of the line item, calculated by multiplying the current unit price of the variant by the quantity, expressed in presentment currencies. * unit​Price [Unit​Price](https://shopify.dev/docs/api/customer/latest/objects/UnitPrice) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The unit price of the line item in presentment currencies. * variant​Id [ID](https://shopify.dev/docs/api/customer/latest/scalars/ID) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The ID of the variant. * variant​Options [\[Line​Item​Variant​Option!\]](https://shopify.dev/docs/api/customer/latest/objects/LineItemVariantOption) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The options of the product variant. * variant​Title [String](https://shopify.dev/docs/api/customer/latest/scalars/String) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The name of the variant. * vendor [String](https://shopify.dev/docs/api/customer/latest/scalars/String) [Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The product's vendor. *** ## Map ### Fields and connections with this object * {}[CalculatedReturnLineItem.lineItem](https://shopify.dev/docs/api/customer/latest/objects/CalculatedReturnLineItem#field-lineItem) * {}[FulfillmentLineItem.lineItem](https://shopify.dev/docs/api/customer/latest/objects/FulfillmentLineItem#field-lineItem) * {}[GiftCardSale.lineItem](https://shopify.dev/docs/api/customer/latest/objects/GiftCardSale#field-lineItem) * <->[LineItemConnection.nodes](https://shopify.dev/docs/api/customer/latest/connections/LineItemConnection#field-nodes) * {}[LineItemEdge.node](https://shopify.dev/docs/api/customer/latest/objects/LineItemEdge#field-node) * {}[NonReturnableLineItem.lineItem](https://shopify.dev/docs/api/customer/latest/objects/NonReturnableLineItem#field-lineItem) * {}[Order.lineItems](https://shopify.dev/docs/api/customer/latest/objects/Order#field-lineItems) * {}[ProductSale.lineItem](https://shopify.dev/docs/api/customer/latest/objects/ProductSale#field-lineItem) * {}[ReturnLineItem.lineItem](https://shopify.dev/docs/api/customer/latest/objects/ReturnLineItem#field-lineItem) * ||-[ReturnLineItemType.lineItem](https://shopify.dev/docs/api/customer/latest/interfaces/ReturnLineItemType#field-lineItem) * {}[ReturnableLineItem.lineItem](https://shopify.dev/docs/api/customer/latest/objects/ReturnableLineItem#field-lineItem) * {}[TipSale.lineItem](https://shopify.dev/docs/api/customer/latest/objects/TipSale#field-lineItem) * {}[UnverifiedReturnLineItem.lineItem](https://shopify.dev/docs/api/customer/latest/objects/UnverifiedReturnLineItem#field-lineItem) *** ## Interfaces * [Node](https://shopify.dev/docs/api/customer/latest/interfaces/Node) interface *** ## ||-LineItem Implements ### Implements * ||-[Node](https://shopify.dev/docs/api/customer/latest/interfaces/Node)