Home > @vsf-enterprise/commercetools-types > InventoryMode

# InventoryMode enum

Signature:

export declare enum InventoryMode 

# Enumeration Members

Member Value Description
None "None" Adding items to cart and ordering is independent of inventory. No inventory checks or modifications. This is the default mode for a new cart.
ReserveOnOrder "ReserveOnOrder" Creating an order will fail with an OutOfStock error if an unavailable line item exists. Line items in the cart are only reserved for the duration of the ordering transaction.
TrackOnly "TrackOnly" Orders are tracked on inventory. That means, ordering a LineItem will decrement the available quantity on the respective InventoryEntry. Creating an order will succeed even if the line item’s available quantity is zero or negative. But creating an order will fail with an OutOfStock error if no matching inventory entry exists for a line item.