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.
{ originalHotelId, duplicateHotelId, duplicateSourceId?, reason? }; there are no other fields.
Response
Returns201 Created with the created duplicate report, including its reportId and initial state.