Hi
Need to create new product and after that update location field in stock entry (I use approach as described here Set Warehouse bin name on set stock quantity)
All it works but there is one problem - when I create a product there is not stock_entries array in sellables property,
but if I wait ~5-15sec that array appears
so, is it possible to get stock_entries array immediately after product creation?
After product creation I don’t have warehouse_id
anyway I have only one warehouse for my whole project, so warehouse_id will be the same for all products