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

    Interface InventoryEntry

    interface InventoryEntry {
        availableQuantity: number;
        createdAt: string;
        createdBy?: CreatedBy;
        custom?: CustomFields;
        expectedDelivery?: string;
        id: string;
        key?: string;
        lastModifiedAt: string;
        lastModifiedBy?: LastModifiedBy;
        maxCartQuantity?: number;
        minCartQuantity?: number;
        quantityOnStock: number;
        reservationExpirationInMinutes?: number;
        restockableInDays?: number;
        sku: string;
        stockLevels?: InventoryEntryStockLevels;
        supplyChannel?: ChannelReference;
        version: number;
    }

    Hierarchy (View Summary)

    Index
    availableQuantity: number

    Available amount of stock (quantityOnStock - reserved). This value is eventually consistent with the internal SKU availability used for reservation logic, with a delay of up to 10 seconds. See Inventory checks and consistency for more information.

    createdAt: string

    Date and time (UTC) the InventoryEntry was initially created.

    createdBy?: CreatedBy

    IDs and references that created the InventoryEntry.

    custom?: CustomFields

    Custom Fields of the InventoryEntry.

    expectedDelivery?: string

    Date and time of the next restock.

    id: string

    Unique identifier of the InventoryEntry.

    key?: string

    User-defined unique identifier of the InventoryEntry.

    lastModifiedAt: string

    Date and time (UTC) the InventoryEntry was last updated.

    lastModifiedBy?: LastModifiedBy

    IDs and references that last modified the InventoryEntry.

    maxCartQuantity?: number

    Maximum quantity that can be added to a Cart. See Quantity limits.

    minCartQuantity?: number

    Minimum quantity that can be added to a Cart. See Quantity limits.

    quantityOnStock: number

    Overall amount of stock (availableQuantity + reserved). This value is eventually consistent with the internal SKU availability used for reservation logic, with a delay of up to 10 seconds. See Inventory checks and consistency for more information.

    reservationExpirationInMinutes?: number

    Expiration time of ReserveOnCart reservations associated with this InventoryEntry.

    - A Reservation is [ReserveOnCart](ctp:api:type:InventoryMode) if it was created for a [LineItem](ctp:api:type:LineItem) that is using the [ReserveOnCart](ctp:api:type:InventoryMode) inventory mode.
    - If this field is empty, the [Project](ctp:api:type:Project)-level reservation expiration time applies.
    
    restockableInDays?: number

    How often the InventoryEntry is restocked (in days).

    sku: string

    ProductVariant sku of the InventoryEntry.

    Configuration of stock levels for the InventoryEntry. Corresponding Messages are triggered when the quantityOnStock reaches the configured levels.

    supplyChannel?: ChannelReference

    Channel that supplies this InventoryEntry.

    version: number

    Current version of the InventoryEntry.