Skip to main content
object

Requires customer_read_orders access scope.

A single line item in an order.

•MoneyV2

The total price of the line item, calculated by multiplying the current unit price of the variant by the quantity, expressed in presentment currencies.

•[Attribute!]!
non-null

The list of custom attributes associated with the line item.

•[DiscountAllocation!]!
non-null

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

•Boolean!
non-null

Whether the line item represents the purchase of a gift card.

•LineItemGroup

The line item group associated to the line item.

•ID!
non-null

A globally-unique ID.

•Image

The image object associated with the line item.

•String!
non-null

The name of the product.

•String

The title of the line item variant.

•MoneyV2

The product variant price without any discounts applied, in presentment currencies.

•ID

The product's ID.

•String

The product's type.

•Int!
non-null

The number of variant items ordered.

•Int!
non-null

The quantity of the line item, minus the refunded quantity.

•Boolean!
non-null

Whether physical shipping is required for the variant.

•String

The SKU number of the variant.

Anchor to suggestedReturnReasonDefinitionssuggestedReturnReasonDefinitions
•ReturnReasonDefinitionConnection

Return reasons suggested based on the line item's product category in Shopify's product taxonomy. These are a curated subset of the full library of available reasons via the returnReasonDefinitions query.

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•Boolean
Default:false

Reverse the order of the underlying list.


•String!
non-null

The title of the product or variant. This field only applies to custom line items.

•MoneyV2!
non-null

The total of the discount allocations on this line item, resulting from discounts applied specifically to this line item.

•MoneyV2

The total price of the line item, calculated by multiplying the current unit price of the variant by the quantity, expressed in presentment currencies.

•UnitPrice

The unit price of the line item in presentment currencies.

•ID

The ID of the variant.

•[LineItemVariantOption!]

The options of the product variant.

•String

The name of the variant.

•String

The product's vendor.


Was this section helpful?

•interface

Was this section helpful?