# CalculatedLineItem - admin-graphql - OBJECT Version: 2024-10 ## Description A line item involved in order editing that may be newly added or have new changes applied. ### Access Scopes `read_order_edits` access scope. ## Fields * [calculatedDiscountAllocations](/docs/api/admin-graphql/2024-10/objects/CalculatedDiscountAllocation): CalculatedDiscountAllocation! - The discounts that have been allocated onto the line item by discount applications. * [customAttributes](/docs/api/admin-graphql/2024-10/objects/Attribute): Attribute! - A list of attributes that represent custom features or special requests. * [discountAllocations](/docs/api/admin-graphql/2024-10/objects/DiscountAllocation): DiscountAllocation! - The discounts that have been allocated onto the line item by discount applications. * [discountedUnitPriceSet](/docs/api/admin-graphql/2024-10/objects/MoneyBag): MoneyBag! - The price of a single quantity of the line item with line item discounts applied, in shop and presentment currencies. Discounts applied to the entire order aren't included in this price. * [editableQuantity](/docs/api/admin-graphql/2024-10/scalars/Int): Int! - The total number of items that can be edited. * [editableQuantityBeforeChanges](/docs/api/admin-graphql/2024-10/scalars/Int): Int! - The editable quantity prior to any changes made in the current edit. * [editableSubtotalSet](/docs/api/admin-graphql/2024-10/objects/MoneyBag): MoneyBag! - The total price of editable lines in shop and presentment currencies. * [hasStagedLineItemDiscount](/docs/api/admin-graphql/2024-10/scalars/Boolean): Boolean! - Whether the calculated line item has a staged discount. * [id](/docs/api/admin-graphql/2024-10/scalars/ID): ID! - A globally-unique ID. * [image](/docs/api/admin-graphql/2024-10/objects/Image): Image - The image object associated to the line item's variant. * [originalUnitPriceSet](/docs/api/admin-graphql/2024-10/objects/MoneyBag): MoneyBag! - The variant unit price in shop and presentment currencies, without any discounts applied. * [quantity](/docs/api/admin-graphql/2024-10/scalars/Int): Int! - The total number of items. * [restockable](/docs/api/admin-graphql/2024-10/scalars/Boolean): Boolean! - Whether the line item can be restocked or not. * [restocking](/docs/api/admin-graphql/2024-10/scalars/Boolean): Boolean! - Whether the changes on the line item will result in a restock. * [sku](/docs/api/admin-graphql/2024-10/scalars/String): String - The variant SKU number. * [stagedChanges](/docs/api/admin-graphql/2024-10/unions/OrderStagedChange): OrderStagedChange! - A list of changes that affect this line item. * [title](/docs/api/admin-graphql/2024-10/scalars/String): String! - The title of the product. * [uneditableSubtotalSet](/docs/api/admin-graphql/2024-10/objects/MoneyBag): MoneyBag! - The total price of uneditable lines in shop and presentment currencies. * [variant](/docs/api/admin-graphql/2024-10/objects/ProductVariant): ProductVariant - The product variant associated with this line item. The value is null for custom line items and items where the variant has been deleted. * [variantTitle](/docs/api/admin-graphql/2024-10/scalars/String): String - The title of the variant. ## Connections ## Related queries ## Related mutations * [orderEditAddCustomItem](/docs/api/admin-graphql/2024-10/mutations/orderEditAddCustomItem) Adds a custom line item to an existing order. For example, you could add a gift wrapping service as a [custom line item](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing#add-a-custom-line-item). To learn how to edit existing orders, refer to [Edit an existing order with Admin API](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing). * [orderEditAddLineItemDiscount](/docs/api/admin-graphql/2024-10/mutations/orderEditAddLineItemDiscount) Adds a discount to a line item on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing). * [orderEditAddVariant](/docs/api/admin-graphql/2024-10/mutations/orderEditAddVariant) Adds a line item from an existing product variant. * [orderEditRemoveLineItemDiscount](/docs/api/admin-graphql/2024-10/mutations/orderEditRemoveLineItemDiscount) Removes a line item discount that was applied as part of an order edit. * [orderEditSetQuantity](/docs/api/admin-graphql/2024-10/mutations/orderEditSetQuantity) Sets the quantity of a line item on an order that is being edited. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing). ## Related Unions ## Examples