Dear Prestashop team,
Kindly I want to know the best practice to create an order using the rest API to use on mobile. I have in my mind two solutions to do that:
1- Following the work flow of the saving of order and check which tables in the database are affected and then use these tables to add a new order
2- I have checked the core code of Prestashop and found that there is a function save for orders, is this function the exact function to add the whole procedure from add to cart till reaching the payment gateway url?
Please i appreciate if you can guide me to select the best practical solution in order to do so.
Thank you in advance,