Comparison
Side-by-side comparison of 2–4 listings (picked from search results) over a stay window.
📄️ Links I have shared
The comparison links this agent has sent, newest first.
📄️ Share a comparison with a guest
Freezes this comparison behind a token and returns a link the guest can open without signing in. The guest sees it exactly as shared — dates, party, units, meals, VAS, cancellation plans, the rows chosen, and each column's `priceOverride` (or the CRS price where none was set), never the CRS price beside an edited one. The share is locked: to change anything, Duplicate it (see GET /share/{token}) and share again, which makes a new link and leaves this one as it was. The guest view drops the restrictions, agent notes and book rows.
📄️ Open a comparison I shared
The read-only agent view of a shared comparison as it was sent, with the CRS price beside any edited one, and the request it was shared from. Duplicate is that `request` sent back to POST /api/v1/search/comparison as a new draft. Returns 404 for a token this agent did not create.
📄️ Revoke a shared comparison
Stops the link working — for a link sent to the wrong guest. Only the agent who created it may revoke it.
📄️ Compare listings
Returns one column per listing aligned for a comparison table: price, accommodation, reviews, sale summary, amenities, spaces and restrictions. Pass `sections` to limit which panels are computed. Each column carries an `encodedId` for the Book Now / add-to-cart flow.
📄️ Export this comparison as CSV
The comparison as a file, laid out the way the table reads: one row per section, one column per listing. Takes the same body as the compare call and re-runs it, so the sheet carries prices we currently hold rather than whatever the browser last rendered. Includes the agent-only rows, since this never reaches a guest.
📄️ Save my note against a listing
The agent's own pitching points for this listing. Kept per agent, so it follows the listing into their next comparison rather than dying with this one, and is never served on the public view. An empty body clears the note.