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

    Interface CartConsentInput

    The visitor's cookie choices as sent to the cart. Send both booleans, or a receiptId from consent.logReceipt(), in which case the receipt's choices win.

    interface CartConsentInput {
        analytics?: boolean;
        marketing?: boolean;
        policyVersion?: string;
        receiptId?: string;
    }
    Index
    analytics?: boolean
    marketing?: boolean
    policyVersion?: string

    The cookie policy version the choices refer to.

    receiptId?: string

    Id returned by consent.logReceipt().