Individual line item in the shopping cart.

interface ShopifyCartLine {
    price: ShopifyMoney;
    quantity: number;
    title: string;
    discounts?: ShopifyDiscount[];
    image?: ShopifyCartLineImage;
    merchandiseId?: string;
    productId?: string;
}

Properties

The price of this line item.

quantity: number

The quantity of this item.

title: string

The product title/name.

discounts?: ShopifyDiscount[]

List of discounts applied to this line item.

Image information for the product.

merchandiseId?: string

The merchandise (variant) ID.

productId?: string

The product ID.