Skip to main content
Version: v1.0

Partial Deletion

What to do when a property with multiple operations (rent + sale) removes only one of them.


The problem

A property can have both modalities: rent and sale. If only the rent is deleted, the property must not be deactivated — it should only change its modality to sale.


How to handle it

Do not report the property in the /properties/deleted endpoint.

Instead, update it in the main feed with the corrected modality:

{
"external_id": "prop-123",
"property_type": "office",
"modality": "sale",
"price": {
"sale_price": 5000000,
"rent_price": null,
"currency": "MXN"
},
"location": {
"latitude": 19.4326,
"longitude": -99.1332,
"street": "Av. Presidente Masaryk",
"city": "Ciudad de México",
"state": "Ciudad de México",
"postal_code": "11560"
},
"contact": {
"name": "Juan Pérez",
"email": "contacto@spot2.mx",
"phone": "+521234567890"
},
"photos": ["https://cdn.your-crm.com/01.jpg"],
"updated_at": "2026-07-01T10:00:00Z"
}

Spot2 detects the modality change (rent_and_salesale) and updates the property without deactivating it.


General rule

SituationAction
Property fully deletedReport in /properties/deleted
Only one operation deleted (rent or sale)Update modality in the main feed