Wix -API- Wix

Hello everyone, can you place products from one eCommerce A website to another Ecommerce B website via API? The idea is that: if B sells a product, it is automatically downloaded from A’s inventory, and if new products or inventories are added to A, B updates them automatically. Taking into account that both websites are on WIX