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

    Interface CustomerCartSummary

    One of the customer's own carts, as shown in a list.

    Deliberately not a full cart: a list needs a count and a total, not every line. It also carries no access token — resume with cart.claim(id), which proves identity from the customer token.

    interface CustomerCartSummary {
        createdAt: string | null;
        currencyCode: string | null;
        id: string;
        itemCount: number;
        marketId: string | null;
        shortCode: string | null;
        totalAmountExVat: number;
        totalAmountIncVat: number;
        updatedAt: string | null;
    }
    Index
    createdAt: string | null
    currencyCode: string | null
    id: string
    itemCount: number

    Units across all lines, not the number of lines.

    marketId: string | null
    shortCode: string | null
    totalAmountExVat: number
    totalAmountIncVat: number
    updatedAt: string | null