Hi,
WooCommerce > Settings > Products > Inventory https://docs.woocommerce.com/document/configuring-woocommerce-settings/#inventory-options
Regards