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
- •String!
The name of the product.
- •String!
Retrieves the slug of the product associated with a order line item. This is useful for generating URLs or displaying product information.
- •String!
Retrieves the SKU (Stock Keeping Unit) of the variant associated with a order line item. The SKU is a unique identifier for the variant, often used for inventory management.
- •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 theLineItemdoes not yet have a taxed price.- •UnitPrice!
Gets the unit price of the order line item.
- •String!
Retrieves the name of the variant associated with a order line item. This is useful for displaying the specific variant details to the user.