Your customer pays in Prestashop. SAP expects that sales order as a file on a server, and the shop expects the stock figure back. If you copy the customer, both addresses and the quantities across after closing time, and then type the stock from a file into the shop, you keep two lists. A wrong quantity only shows up when someone orders something that is no longer in stock. You no longer need that manual round.
Sales orders go from the webshop to the server. Stock goes the other way, from the file to the product. Only the statuses you choose leave the shop, oldest change first, from a date you set yourself that does not move on its own. The result is CSV or XML, one file for the whole run or one file per order. SAP fetches the file. Nothing is written in SAP itself. A stock line is a product reference and a quantity, and that quantity replaces the stock.
You decide which statuses are included and whether an order is sent again after a status change. The file name is a unique identifier, unless you choose a different pattern. Per run, stock reads at most as many files and lines as you set. Without a maximum for lines, a run picks up ten. A longer file continues in the next run. A file that has been processed only comes up again under a different name. You can then have it moved to an archive folder.