Anyhoo - apparently the ceasefire was after Trump "accepted" (presumably only for purposes of discussing further) the 10-point plan that Iranian's submitted to the US via Pakistan. Iran is claiming that the US has "agreed to" all of these:
1. Commitment to non-agression
2. Continuation of Iran's control over the Strait of Hormuz
3. Acceptabce of uranium enrichment
4. Lifting of all primary sanctions
5. Lifting of all secondary sanctions
6. Termination of all UN Security Council resolutions
7. Termination of all Board of Governors resolutions
8. Payment of compensation to Iran
9. Withdrawal of US combat forces from the region
10. Cessation of war on all fronts, including against Hezbollah in Lebanon
But, as said, my guess is that they've been accepted only so far as they've accepted them as a starting point for actual negotiations during the ceasefire. Given that Israel have refused 10, and are continuing with their invasion/attack/war in Lebanon, it's clearly not a done deal.
Maybe this now officially starts the "negotiations", during which both sides will refrain from further aggression, and Trump now getting the chance to push the deadline further and further back "while negotiations are ongoing". There's no way the US will ultimately agree to these 10 points, especially without Israel also being on board, but, well, it's a start.
So what has the war, the deaths of thousands, hundred+ children, significant damage to Iran, actually achieved, that could not have been achieved through negotiation from the outset? Well, currently, it has strengthened Iran's position, tightening a grip on the Strait of Hormuz, on the world's oil supply, that they never really exhibited before but have now been emboldened to flex. Sure, the personnel at the top of Iran's regime have gone... to be replaced by members of the same regime, who now also have the US to blame for the deaths of so many Iranians.
But it has given Trump a repreive from being asked about the Trump-Epstein files, at least. So there's that. And it has given members of his inner circle the ability to make money of his announcements. And now he'll spin it as a bigly success, a win that no other President could have achieved. They wanted to, but they didn't. Only Trump did. And look! Gas prices are coming down! Trump said that they would! Trump never lies!