Update products with csv files

Hello, I would like to ask if it was possible to update my products automatically with an external csv file or with a code that allows me to update every field of the products.

************************************
*	home
*
************************************

import { set_Product } from 'backend/product.jsw'

 
$w.onReady(async function(){
   const articolo = "id_my_article (exaple: 12345678)"
  

   let productID = articolo;
   let productInfo = { name:"test"};
   let updatedProd = await set_Product(productID, productInfo); console.log(updatedProd);
});

/*******************************
 * Backend code - products.jsw *
 *******************************/
 import wixStoresBackend from 'wix-stores-backend';

export function set_Product(productID, productInfo) {
    return(wixStoresBackend.updateProductFields(productID, productInfo))
}

I also wanted to ask, why don’t I change the inStock field