CalculatedLineItem

Version unstable

A line item with changes applied to them.

Required access

read_orders access scope

Show definition
"""
A line item with changes applied to them.
"""
type CalculatedLineItem {
  """
  List of additional information (metafields) about the line item.
  """
  customAttributes: [Attribute!]!
  """
  The discounts that have been allocated onto the line item by discount applications.
  """
  discountAllocations: [DiscountAllocation!]!
  """
  The total line price after discounts are applied in shop and presentment currencies.
  """
  discountedUnitPriceSet: MoneyBag!
  """
  The total number of items that can be edited.
  """
  editableQuantity: Int!
  """
  The editable quantity prior to any changes made in the current edit.
  """
  editableQuantityBeforeChanges: Int!
  """
  The total price of editable lines in shop and presentment currencies.
  """
  editableSubtotalSet: MoneyBag!
  """
  Globally unique identifier.
  """
  id: ID!
  """
  The Image object associated to the line item's variant.
  """
  image: Image
  """
  Variant price without any discounts applied in shop and presentment currencies.
  """
  originalUnitPriceSet: MoneyBag!
  """
  The total number of items.
  """
  quantity: Int!
  """
  Whether the line item can be restocked or not.
  """
  restockable: Boolean!
  """
  Whether the changes on the line item will result in a restock.
  """
  restocking: Boolean!
  """
  Variant SKU number.
  """
  sku: String
  """
  A list of changes that affect this line item.
  """
  stagedChanges: [OrderStagedChange!]!
  """
  Title of the product or variant.
  """
  title: String!
  """
  The total price of uneditable lines in shop and presentment currencies.
  """
  uneditableSubtotalSet: MoneyBag!
  """
  The product variant associated with this line item. Will be null for custom line items and items whose
  variant has been deleted.
  """
  variant: ProductVariant
  """
  Name of the variant.
  """
  variantTitle: String
}

Fields

customAttributes ([Attribute!]!)

List of additional information (metafields) about the line item.

discountAllocations ([DiscountAllocation!]!)

The discounts that have been allocated onto the line item by discount applications.

discountedUnitPriceSet (MoneyBag!)

The total line price after discounts are applied in shop and presentment currencies.

editableQuantity (Int!)

The total number of items that can be edited.

editableQuantityBeforeChanges (Int!)

The editable quantity prior to any changes made in the current edit.

editableSubtotalSet (MoneyBag!)

The total price of editable lines in shop and presentment currencies.

id (ID!)

Globally unique identifier.

image (Image)

The Image object associated to the line item's variant.

originalUnitPriceSet (MoneyBag!)

Variant price without any discounts applied in shop and presentment currencies.

quantity (Int!)

The total number of items.

restockable (Boolean!)

Whether the line item can be restocked or not.

restocking (Boolean!)

Whether the changes on the line item will result in a restock.

sku (String)

Variant SKU number.

stagedChanges ([OrderStagedChange!]!)

A list of changes that affect this line item.

title (String!)

Title of the product or variant.

uneditableSubtotalSet (MoneyBag!)

The total price of uneditable lines in shop and presentment currencies.

variant (ProductVariant)

The product variant associated with this line item. Will be null for custom line items and items whose variant has been deleted.

variantTitle (String)

Name of the variant.

Sign up for a Partner account to get started.

Sign up