{"section":"tutorials","requestedLocale":"en","requestedSlug":"understanding-the-minimum-availability-rule","locale":"en","slug":"understanding-the-minimum-availability-rule","path":"docs/en/tutorials/integrations/inventory/understanding-the-minimum-availability-rule.md","branch":"main","content":"The minimum availability rule is a functionality associated with the inventory query process that affords correct information about availability without constant updating of the quantity in stock.\n\n## How it works\n\nWhenever a cart is set up in the **marketplace**, several queries are made to the VTEX system, including as to the availability of the products selected. \n\nThis query does not depend on the quantity in stock that was previously informed to the marketplace, in other words, even with information about the quantity in stock, the query takes place when the purchase is concluded. \n\nThis happens to ensure that the inventory information is as up-to-date as possible.\n\nOn account of this, there is a minimum availability rule which states that changes in numbers in stock to be notified to the marketplaces are those that change items which, before or after updating, have up to five items in stock. \n\nThat is, if a change is made in the stock of an item, from 50 to 20 units, this change will not be notified to the partner This will only happen when the pre- or post-change quantity is of up to five items.\n\n## Examples\n\n**Before updating:** 16 items\n**After updating:** 60 items\nThis change will **not** be notified.\n\n**Before updating:** 0 items\n**After updating:** 23 items\nThis change will be notified.\n\n**Before updating:** 15 items\n**After updating:** 2 items\nThis change will be notified.\n\n_We wish to stress that this behavior has no impact on the purchase flow, where availability will always be checked when the order is closed._"}