The InventoryEntry information of the Product Variant. If there is a supply Channel for the InventoryEntry, then channels is returned. If not, then isOnStock, restockableInDays, and quantityOnStock are returned.

interface ProductVariantAvailability {
    availableQuantity?: number;
    channels?: ProductVariantChannelAvailabilityMap;
    isOnStock?: boolean;
    restockableInDays?: number;
}

Properties

availableQuantity?: number

Number of items of the Product Variant that are in stock.

For each InventoryEntry with a supply Channel, an entry is added to channels.

isOnStock?: boolean

Indicates whether a Product Variant is in stock.

restockableInDays?: number

Number of days to restock a Product Variant once it is out of stock.

Generated using TypeDoc