Skip to main content
Flag two reference hotels as duplicates of the same real-world property. Reports are queued for review; resolution (merge or reject) is handled by the backoffice team via a separate admin-only endpoint.
Submitting a report works with a regular API key. Resolving a report (POST /api/v1/reference/duplicates/{reportId}/resolve) is backoffice-only and requires an admin key.

POST /api/v1/reference/duplicates

Submit a new duplicate report.

Request body

string
required
UUID of the reference hotel you consider canonical (the one to keep).
string
required
UUID of the reference hotel you believe is a duplicate of originalHotelId.
string
Optional identifier for the source that surfaced the duplicate (e.g. a supplier or dataset reference).
string
Optional free-text explanation of why the two hotels are duplicates.
The complete accepted body is { originalHotelId, duplicateHotelId, duplicateSourceId?, reason? }; there are no other fields.

Response

Returns 201 Created with the created duplicate report, including its reportId and initial state.

Example

Error responses