There are no restrictions on foreigners buying property in New Zealand. But you will need to apply to the Overseas Investment Office for approval to purchase if you if you are buying a property:
For more than $10 million, or
When the property comes with more than 5 hectares of land, or
If the plot consists of coastal land and is larger than 21,527 square feet.