Skip to content

Exclusive Offer Update

PUT comparables/exclusive/offers/<sourceOfferId>?countryCode=<countryCode>

or

PUT comparables/exclusive/offers/<offerId>?countryCode=<countryCode>

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

QueryParameters#

Field Description Type Remarks
countryCode ISO country code string offer countryCode

Request#

curl -X PUT 'https://api.pricehubble.com/api/v1/comparables/exclusive/offers/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"],
    "property": {
        "location": {
            "coordinates": {
                "latitude": 47.4,
                "longitude": 8.54
            },
            "address": {
                "postCode": "8008",
                "street": "Klausstrasse",
                "city": "Zurich"
            }
        },
        "propertyType": {
            "code": "apartment"
        },
        "livingArea": 50
    },
    "offer": {
        "isActive": false,
        "endDate": "2022-01-05"
    }
}'

Request fields#

Field Description Type Remarks
countryCode ISO country code string
description Offer description string
images Offer images array of image path To upload image use Exclusive Comparables Images API
roomTourLink Url for virtual tour of the offer string
title Title text
fullSourceData raw value for offer in JSON format json
property Information about the property Exclusive Comparables Property
offer Information about the offer Exclusive Comparables Offer

Example Response#

{
   "offerId": "16adf0dd-6a35-4d84-8b4d-53da4166a53e",
   "geoPrecision": "address",
   "sourceOfferId": "qnGcKZNNLgiX",
   "title": "",
   "description": "",
   "images": [
      "https://host/images/b25bb9f4-5a58-4f1e-8cd5-9ce442f4724d.jpg"
   ],
   "property": {
      "volume": 192.91,
      "numberOfFloorsInBuilding": 2,
      "buildingYear": "",
      "isNew": false,
      "propertyType": {
         "code": "apartment",
         "subcode": ""
      },
      "landArea": 193.0,
      "hasLift": false,
      "floorNumber": 8,
      "livingArea": 50.0,
      "numberOfRooms": 4.0,
      "numberOfIndoorParkingSpaces": 0,
      "numberOfOutdoorParkingSpaces": 3,
      "numberOfBathrooms": 2,
      "isWheelchairAccessible": true,
      "numberOfBedrooms": 1,
      "isFurnished": true,
      "renovationYear": 2013,
      "energyLabel": "",
      "minergie": "",
      "hasPool": false,
      "hasSauna": false,
      "balconyArea": 6.0,
      "gardenArea": 265.0,
      "basementType": "",
      "basementSurface": 21.0,
      "hasConcierge": true,
      "furnishedKitchen": false,
      "hasAirconditioning": true,
      "hasHeating": false,
      "centralisedHeating": false,
      "hasSolarPanels": null,
      "heatingGenerationType": null,
      "heatingDistributionType": null,
      "view": "",
      "orientation": "",
      "isRented": true,
      "location": {
         "coordinates": {
            "latitude": 52.49808789999999,
            "longitude": 13.3527799
         },
         "address": {
            "postCode": "10777",
            "street": "Nollendorfstraße",
            "city": "Berlin",
            "houseNumber": "12"
         }
      },
      "quality": {
         "kitchen": "normal",
         "bathrooms": "simple",
         "flooring": "high_quality",
         "windows": "normal",
         "masonry": "simple",
         "roof": "normal"
      },
      "condition": {
         "property": "renovation_needed",
         "kitchen": "new_or_recently_renovated",
         "bathrooms": "renovation_needed",
         "flooring": "well_maintained",
         "windows": "well_maintained",
         "masonry": "well_maintained",
         "roof": "well_maintained",
         "elec": "renovation_needed",
         "plumbing": "new_or_recently_renovated"
      }
   },
   "offer": {
      "isActive": true,
      "isPrivate": true,
      "dealType": "rent",
      "startDate": "2020-07-12",
      "endDate": "",
      "salePrice": "",
      "rentPrice": 1099.0,
      "grossRentPrice": 1366.0,
      "salePricePerSqm": "",
      "rentPricePerSqm": "",
      "grossRentPricePerSqm": "",
      "feesAmount": 4574.0,
      "currency": "EUR"
   },
   "fullSourceData": {},
   "countryCode": "DE"
}

Response fields#

See Exclusive Offer Creation