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

    Interface ShipmentOptionShipment

    A shipment as offered by getShipmentOptions, before the customer has chosen.

    interface ShipmentOptionShipment {
        estimate: {
            date: string | null;
            source:
                | "stock"
                | "inbound"
                | "supplierStock"
                | "supplierLeadTime"
                | "none";
        };
        isBackorder: boolean;
        items: {
            lineItemId: string;
            name: string
            | null;
            productId: string | null;
            quantity: number;
            sku: string;
        }[];
        key: string;
        pickupAvailable: boolean;
        warehouseId: string;
        warehouseName: string
        | null;
    }
    Index
    estimate: {
        date: string | null;
        source: "stock" | "inbound" | "supplierStock" | "supplierLeadTime" | "none";
    }

    Estimated date, not a promise: the promise is set on the order when it is created. source: "stock" is the next working day and does not include transport time.

    isBackorder: boolean
    items: {
        lineItemId: string;
        name: string | null;
        productId: string | null;
        quantity: number;
        sku: string;
    }[]
    key: string
    pickupAvailable: boolean

    Pickup is only offered where every item in the shipment is on the shelf now.

    warehouseId: string
    warehouseName: string | null