The WooCommerce Warehouses plugin has the ability to manage stock that are stored in different locations, like warehouses. By creating multiple warehouses you can manage the inventory of your product automatically, also by establishing stock usage priorities.