The business functionality of placing an order is next in line. When a user decides that his shopping cart has just the right books as required, he/she decides to place an order. At that moment in time, some information related to the order has to be confirmed/conveyed to various other microservices. For example, before the order is confirmed, we need to confirm from the book catalog that there is enough quantity available in stock to fulfil the order. Post this confirmation, the right number of items are supposed to be reduced from the book catalog. The shopping cart would also have to be emptied post the successful confirmation of the order.
Although our order microservice sounds more pervasive and in contradiction ...