documentation for getOrderByID