Who are transit passengers
If you pass through New Zealand on your way to another country and you do not plan to stay, you are a transit passenger.
You can only transit New Zealand through Auckland International Airport, where you must stay in the transit area of the airport. You cannot apply to enter New Zealand.
You can remain in transit for up to 24 hours. If you need to stay longer than 24 hours, you are not a transit passenger and you need to apply to enter New Zealand.
New Zealand border entry requirements | Immigration New Zealand