PROD

PUT /cabaprop/property

Updates specific fields of a listing already published on Cabaprop with POST /cabaprop/publish.

The server merges the fields you send with the last published Property Objectthere is no need to resend the whole object, only the fields that changed. The merge happens at the first level of each object (for example, if you send price, it replaces the entire price object, not only the inner keys you included).

title, location and property_type/operation_type cannot be modified once the listing is published — unpublish and publish again if you need to change them (see Property Object > Notes).

Resource information
AuthenticationRequired (Mapaprop token + Cabaprop token)
HTTP MethodPUT
ResponseJSON
Version1

Resource URL

https://property-api.mapaprop.com/cabaprop/property

Headers

HeaderRequiredDescription
AuthorizationyesBearer <token> — Mapaprop token
X-Cabaprop-TokenyesCabaprop token obtained in POST /cabaprop/connect
Content-Typeyesapplication/json

Parameters (body request)

KeyTypeRequiredDescription
propertyIdnumber/stringyesId of the already published property.
custIdnumber/stringyesId of the customer/account; it must match the authenticated account.
propertyobjectyesSubset of the Property Object with the fields to change.

Sample code

PUT /cabaprop/property
Host: property-api.mapaprop.com
Content-Type: application/json
Authorization: Bearer {access_token}
X-Cabaprop-Token: {cabaprop_token}
{
  "propertyId": 188017,
  "custId": 1,
  "property": {
    "price": { "currency": 1, "total": 240000 },
    "description": "Precio actualizado. Casa de 4 ambientes con jardín y parrilla."
  }
}

Response

{
  "success": true,
  "cabapropId": "68cae034f1a2b3c4d5e6f7a8"
}
FieldTypeDescription
successbooleantrue if the update was applied.
cabapropIdstringId of the listing on Cabaprop.

Errors

StatusBodyCause
400{"error":"Invalid JSON body"}The body is not valid JSON.
403{"error":"custId does not match the authenticated customer"}The custId in the body does not match the authenticated account.
400{"error":"propertyId, custId and property are required"}One of the required fields is missing.
400{"error":"Cabaprop account is not connected (missing token)"}The Cabaprop token is missing.
404{"error":"Property is not published in Cabaprop — publish it first"}The property has no live listing — use POST /cabaprop/publish first.
401{"error":"Cabaprop authentication failed — reconnect the account"}The Cabaprop token is invalid or expired.
200{"success":false,"errorCode":"...","detail":"..."}Cabaprop rejected the update because of invalid data. detail carries the portal's literal message.
500{"error":"Error updating Cabaprop property","detail":"..."}Unexpected error.