You only need the names of the passengers as stated on their ID (official first and original last name of all passengers) during the booking process. You do not need other passport details to complete your reservation. You will only need these when you check-in and, of course, when you go to the airport.
Related questionsHow can I make a reservation for an unaccompanie … My booking was unsuccessful. Now what? Child discount on airline ticket
Which seats can I reserve while booking a flight ticket? What names do I need to enter when I make a reservation? Is my payment safe? Can I book a seat for my baby? How can I make a seat reservation? Service packages Special services Booking online: step by step What are the conditions of a flexible ticket?