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

    Interface AssistantContext

    Where the shopper is. Lets the assistant answer "what are the measurements of this one?" on a product page. Unknown or malformed values are dropped by the server.

    interface AssistantContext {
        pageType?: string | null;
        postalCode?: string | null;
        productSku?: string | null;
    }
    Index
    pageType?: string | null

    Lowercase letters and dashes, e.g. "product", "category", "cart", "checkout".

    postalCode?: string | null

    The postal code the site already knows (e.g. from the cart), for delivery questions. Max 10 characters.

    productSku?: string | null

    The product the shopper is looking at.