(Updates to close)
Sept 7 (Reuters) - Australia shares ended flat on Thursday, surrendering early gains on a positive lead from Wall Street, hurt by declines in BHP and Woolworths which traded ex-dividend.
The Australian benchmark index, which also rose in early trading on receding tensions on the Korean peninsula, finished 0.17 points higher at 5,689.90.
The benchmark shed 0.3 percent on Wednesday.
The consumer staples sector was the worst performer as Woolworths shares slid 1.8 percent to their lowest in more than two months.
Earlier in the session, data showed retail sales were flat in July, upsetting expectations for a 0.3 percent increase after a solid 1.8 percent gain in sales in the June quarter.
Trade data for July was also disappointing with Australia’s surplus on goods and services narrowing unexpectedly to A$460 million in July.
Healthcare shares too were among the top losers, with the biggest stock in the sector CSL Ltd among the top drags on the main index with its 1 percent fall.
Rio Tinto was the main attraction in an otherwise sluggish mining sector. Its shares rose as much as 1.4 percent to a six-month high after the world’s second-biggest miner increased the estimate of coal reserves by 50 percent at its 80 percent owned Kestrel mine in Queensland.
Rival BHP’s shares, which traded ex-dividend, fell 1.4 percent.
New Zealand’s benchmark S&P/NZX 50 index rose 0.18 percent to 7,804.26, supported by consumer and healthcare shares.
Building materials maker Fletcher Building Ltd and medical devices maker Fisher & Paykel Healthcare were the biggest advancers on the benchmark, rising 1.4 percent and 2.1 percent, respectively.
Shares of Air New Zealand were the biggest drag on the index, down 2.5 percent.
Reporting by Rushil Dutta in Bengaluru; Editing by Jacqueline Wong