@gradientedge/commercetools-utils
    Preparing search index...

    Interface ProductVariantAvailability

    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 availableQuantity are returned.

    Only available for Projects with the [ProductCatalogModel](ctp:api:type:ProductCatalogModel) `Classic`.
    
    interface ProductVariantAvailability {
        availableQuantity?: number;
        channels?: ProductVariantChannelAvailabilityMap;
        id?: string;
        isOnStock?: boolean;
        restockableInDays?: number;
        version?: number;
    }
    Index
    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.

    id?: string

    Unique identifier of the InventoryEntry.

    isOnStock?: boolean

    Whether the Product Variant is in stock, based on an InventoryEntry that has no assigned supply Channel. This value reflects global or default availability; it does not aggregate the channel-specific availabilities found in the channels field.

    restockableInDays?: number

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

    version?: number

    Current version of the InventoryEntry.