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

    Interface PositionAppliesContext

    Which goods the question is about, and the profile it was read from.

    interface PositionAppliesContext {
        baseSku?: string | null;
        requestedSku?: string | null;
        sku?: string | null;
    }
    Index
    baseSku?: string | null

    The profile's base product: profile.sku. Listing it in appliesTo means every variant.

    requestedSku?: string | null

    The SKU the profile was fetched for: profile.requestedSku. applies is that SKU's answer.

    sku?: string | null

    The goods SKU (a variant, or the base product). Defaults to requestedSku.