OrderLineItem object

Represents a single line in an order. There is one line item for each distinct product variant.

Required access

unauthenticated_read_product_listings access scope.

Fields

  • currentQuantity (Int!)

    The number of entries associated to the line item minus the items that have been removed.

  • customAttributes ([Attribute!]!)

    List of custom attributes associated to the line item.

  • discountAllocations ([DiscountAllocation!]!)

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

  • discountedTotalPrice (MoneyV2!)

    The total price of the line item, including discounts, and displayed in the presentment currency.

  • originalTotalPrice (MoneyV2!)

    The total price of the line item, not including any discounts. The total price is calculated using the original unit price multiplied by the quantity, and it is displayed in the presentment currency.

  • quantity (Int!)

    The number of products variants associated to the line item.

  • title (String!)

    The title of the product combined with title of the variant.

  • variant (ProductVariant)

    The product variant object associated to the line item.

Types that return OrderLineItem

An auto-generated type for paginating through multiple OrderLineItems.

Fields

Types that return OrderLineItem

An auto-generated type which holds one OrderLineItem and a cursor during pagination.

Fields

  • cursor (String!)

    A cursor for use in pagination.