I'd like to create and place an order in Magento using API. I see that exists the method cart.create but I cannot understand what is the correct flow for using it.
The point I cannot figure out how to handle is the payment.
The following use case can work?
- Create a cart using Magento API
- Add products to cart using Magento API
- Set customer, addresses, etc again using Magento API
- Perform some kind of payment outside Magento
- If payment is successful, call cart.create
Thanks