@coveo/headless
    Preparing search index...

    Interface CartItem

    The shape of a cart item.

    interface CartItem {
        name: string;
        price: number;
        productId: string;
        quantity: number;
    }
    Index

    Properties

    name: string

    The human-readable name of the product.

    price: number

    The price per unit of the product.

    productId: string

    The unique identifier of the product.

    quantity: number

    The number of units of the product in the cart.