Skip to content

Exclusive Transaction Update

PUT comparables/exclusive/transactions/<sourceTransactionId>&countryCode=<countryCode>

or

PUT comparables/exclusive/transactions/<uuid>&countryCode=<countryCode>

Updates the exclusive transaction specified in the request path by replacing the fields with the ones provided.

QueryParameters#

Field Description Type Remarks
countryCode ISO country code string transaction countryCode

Request#

curl -X PUT 'https://api.pricehubble.com/api/v1/comparables/exclusive/transactions/119a6ead-4ac4-4b4b-b264-195a2895618e?countryCode=CH' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer 74126eab0a9048d993bda4b1b55ae074' \
  -d '{
    "countryCode": "CH",
    "images": ["a2b158e6-8570-4cdb-9105-454773335a49.jpg"],
    "transaction": {
        "transactionDate": "2021-08-10",
        "transactionsStatus": "sold",
        "salePrice": 2000000
    },
    "property": {
        "location": {
            "coordinates": {
                "latitude": 47.4,
                "longitude": 8.54
            },
            "address": {
                "postCode": "8008",
                "street": "Klausstrasse",
                "city": "Zurich"
            }
        },
        "propertyType": {
            "code": "apartment"
        },
        "livingArea": 50
    }
}'

Request fields#

Field Description Type Remarks
countryCode ISO country code string
sourceOfferId CRM offer id string
description Transaction description string
label Transaction label string Max length 10 characters
images Transaction images array of image path To upload image use Exclusive Comparables Images API
fullSourceData raw value for transaction in JSON format json
property Information about the property Exclusive Comparables Property
transaction Information about the transaction Exclusive Comparables Transaction

Example Response#

{
    "uuid": "6ac48dd5-bf91-4e66-b121-e98a4ed37cea",
    "sourceTransactionId": "23e4c547-4072-4027-b65d-435b922d5fae",
    "sourceOfferId": "",
    "description": "",
    "images": ["http://some-domain.com/a2b158e6-8570-4cdb-9105-454773335a49.jpg"],
    "property": {
        "volume": null,
        "numberOfFloorsInBuilding": null,
        "buildingYear": null,
        "isNew": null,
        "propertyType": {
            "code": "apartment",
            "subcode": ""
        },
        "landArea": null,
        "hasLift": null,
        "floorNumber": null,
        "livingArea": 50.0,
        "numberOfRooms": null,
        "hasParkingSpaces": null,
        "numberOfIndoorParkingSpaces": null,
        "numberOfOutdoorParkingSpaces": null,
        "numberOfBathrooms": null,
        "isWheelchairAccessible": null,
        "numberOfBedrooms": null,
        "isFurnished": null,
        "renovationYear": null,
        "energyLabel": "",
        "hasPool": null,
        "hasSauna": null,
        "balconyArea": null,
        "gardenArea": null,
        "basementType": "",
        "basementSurface": null,
        "hasConcierge": null,
        "furnishedKitchen": null,
        "hasAirconditioning": null,
        "hasHeating": null,
        "centralisedHeating": null,
        "hasSolarPanels": null,
        "heatingType": "",
        "heatingSource": "",
        "view": "",
        "orientation": "",
        "isRented": null,
        "location": {
            "coordinates": {
                "latitude": 47.4,
                "longitude": 8.54
            },
            "address": {
                "postCode": "8008",
                "street": "Klausstrasse",
                "city": "Zurich",
                "houseNumber": ""
            }
        },
        "quality": {
            "kitchen": "",
            "bathrooms": "",
            "flooring": "",
            "windows": "",
            "masonry": "",
            "roof": ""
        },
        "condition": {
            "property": "",
            "kitchen": "",
            "bathrooms": "",
            "flooring": "",
            "windows": "",
            "masonry": "",
            "roof": "",
            "elec": "",
            "plumbing": ""
        }
    },
    "transaction": {
        "transactionDate": "2021-08-10",
        "salePrice": 1000000.0,
        "originalOfferPrice": null,
        "transactionsStatus": "sold",
        "preSaleDate": null,
        "feesAmount": null
    },
    "fullSourceData": {},
    "countryCode": "CH"
}

Response fields#

See Exclusive Transaction Creation