Understanding the order flow for orders created using the API