Menu
Feedback
Start here
Tutorials


Tutorials
Explore in-depth tutorials for operating your VTEX store.
Tutorials
Integrations
Inventory
How the minimum availability rule works

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.

How it works

Whenever 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. 

This 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. 

This happens to ensure that the inventory information is as up-to-date as possible.

On 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.

That 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.

Examples

Before updating: 16 items After updating: 60 items This change will not be notified.

Before updating: 0 items After updating: 23 items This change will be notified.

Before updating: 15 items After updating: 2 items This change will be notified.

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.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
How to manage stock in the marketplace
« Previous
Customized inventory in the marketplace
Next »
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback