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

    Interface AssistantDeliveryCard

    When products can be delivered to a postal code: the options with price and expected arrival, for a product (scope: "product") or the shopper's cart (scope: "cart"). An estimate, not a promise.

    interface AssistantDeliveryCard {
        currency: string | null;
        items: { imageUrl: string | null; name: string; quantity: number }[];
        options: AssistantDeliveryOption[];
        postalCode: string;
        readyDate: string | null;
        scope: "product" | "cart";
        type: "delivery";
    }
    Index
    currency: string | null

    Null when prices are hidden.

    items: { imageUrl: string | null; name: string; quantity: number }[]
    postalCode: string
    readyDate: string | null

    When all of it can leave the shop (YYYY-MM-DD). Null when a line has no date.

    scope: "product" | "cart"
    type: "delivery"