Thankly SDK for JavaScript
    Preparing search index...

    Interface PurchaseContext

    Explicit shopper choices used to select one regional offer.

    interface PurchaseContext {
        country?: string | null;
        currency?: string | null;
        fulfillmentMode?: "delivery" | "store" | null;
        locationId?: string | null;
        postalCode?: string | null;
        subdivision?: string | null;
    }
    Index
    country?: string | null

    ISO 3166-1 alpha-2 destination country.

    currency?: string | null

    ISO 4217 purchase currency. Currency never implies a country.

    fulfillmentMode?: "delivery" | "store" | null

    Whether the shopper is buying for delivery or at an explicit store.

    locationId?: string | null

    Explicit inventory location for store fulfillment.

    postalCode?: string | null

    Postal destination or prefix.

    subdivision?: string | null

    Country subdivision code used by the catalog's regional books.