Guptill's addition completes the 13-strong side, and selector Gavin Larsen said the top order batsman added more depth to the team.
"We opted for extra batting cover for that final spot and with Martin having been playing in the middle-order recently, he can cover a number of positions for us," Larsen said.
Larsen also provided an update on the status of Ross Taylor.
"Ross is progressing nicely and is expected to take a full part in training tomorrow. The team are looking forward to what will be a special match beginning on Thursday."
The match will be New Zealand's first day-night test with a pink ball, and is scheduled to start at 2pm.