OrderLineItem

  • Object

Represents a line item in a order, which includes details about the product, variant, and any associated discounts.

Each line item contains information such as the product name, variant details, total price, and any applicable discounts. This allows for detailed tracking of items within a cart, including their pricing and discount applications.

#

Fields


ID!

The unique identifier of the line item.

ID!

The unique identifier of the product associated with the order line item.

String!

The name of the product associated with the order line item.

String!

The slug of the product associated with the order line item, useful for generating URLs or displaying product information.

Int!

Retrieves the quantity of the order line item.

String!

The SKU (Stock Keeping Unit) of the variant associated with the order line item, often used for inventory management.

Money!

The line items total excluding discounts and taxes.

TaxBehavior!

Gets the tax behavior of the order line item, which indicates how taxes are applied to the item.

TaxRate

Retrieves the tax rate applied to the order line item. This may be null if the line item does not have a tax rate defined.

TaxedPrice

Gets the taxed price of the LineItem. This may be null if the LineItem does not yet have a taxed price.

Money!

The total amount for the order line item, including taxes and discounts.

UnitPrice!

Retrieves the unit price of the order line item.

ID!

The unique identifier of the variant associated with the order line item.

String!

The name of the variant associated with the order line item.