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

    Interface CartConsent

    Cookie consent stored on the cart and copied to the order. It decides whether the purchase may be sent server-side to marketing channels. Absent = unknown.

    interface CartConsent {
        analytics: boolean;
        capturedAt: string | null;
        marketing: boolean;
        policyVersion: string | null;
        receiptId: string | null;
        source: "receipt" | "storefront";
    }
    Index
    analytics: boolean
    capturedAt: string | null
    marketing: boolean
    policyVersion: string | null
    receiptId: string | null
    source: "receipt" | "storefront"

    "receipt": taken from a consent receipt. "storefront": stated by the storefront (own CMP).