Added getOrderDetail function for /order/detail API