Added initial code to fetch order details and print the JSON