July 4 (Reuters) - Copper prices in London eased on Thursday as demand was weakened due to higher prices, with poor economic data also weighing on sentiment.

Three-month copper on the London Metal Exchange (LME) eased 0.3% to $9,834.50 per metric ton by 0507 GMT, retreating from a 2% gain in the previous session, the biggest daily gain since June 6.

Meanwhile, the most-traded August copper contract on the Shanghai Futures Exchange (SHFE) advanced 1% to 79,890 yuan ($10,987.03) a ton.

"Copper has limited upside as exchange inventories pile up and demand remains price-sensitive," said Sandeep Daga, a director at Metal Intelligence Centre.

The downtrend in manufacturing and service sector PMI hint at a slowdown in the world's top two economies, Daga added.

LME copper inventory rose to 186,450 tons, the highest since October 2023. Stockpiles in SHFE warehouses have eased slightly in recent weeks, but are still at relatively high.

Latest data from the United States showed the labour market was gradually slowing and the manufacturing sector contracting for the third straight month in June.

In China, data showed another decline in broader manufacturing activity in June and services activity expanded at the slowest pace in eight months in the same month.

Copper prices had been rebounding this week, partially supported by a pick up in Chinese demand at lower prices, and as the dollar was on the back foot, making greenback-priced metals cheaper to holders of other currencies.

LME aluminium was nearly flat at $2,549 a ton, nickel increased 0.2% to $17,365, while zinc was nearly unchanged at $2,991.50, lead eased 0.3% to $2,216 and tin declined 0.5% to $33,200.

SHFE aluminium rose 0.3% to 20,485 yuan a ton, nickel increased 0.6% to 138,060 yuan, zinc climbed 0.8% to 24,715 yuan, lead edged up 0.1% at 19,560 yuan and tin was up 0.9% to 276,070 yuan.

For the top stories in metals and other news, click or ($1 = 7.2713 yuan) (Reporting by Mai Nguyen in Hanoi; Editing by Varun H K)