@avvyr/storefront-sdk - v0.19.0
    Preparing search index...

    Interface AssistantCartCard

    What the assistant just changed in the shopper's cart, and the cart afterwards.

    interface AssistantCartCard {
        action: "added" | "removed";
        changes: {
            imageUrl: string | null;
            name: string;
            quantity: number;
            sku: string | null;
        }[];
        currency: string
        | null;
        itemCount: number;
        total: number | null;
        type: "cart";
    }
    Index
    action: "added" | "removed"
    changes: {
        imageUrl: string | null;
        name: string;
        quantity: number;
        sku: string | null;
    }[]
    currency: string | null
    itemCount: number

    Items in the cart after the change.

    total: number | null

    Cart total incl. VAT. Null when the shop shows prices only to signed-in customers.

    type: "cart"