Skip to main content
PATCH
/
update-property
/
{propertyId}
Update a property
curl --request PATCH \
  --url https://v2.api.uk.housr.com/update-property/{propertyId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "description": "<string>",
  "address": "<string>",
  "city": "<string>",
  "images": [
    "<string>"
  ],
  "price_pw": 123,
  "bedrooms": 1,
  "bathrooms": 1,
  "postcode": "<string>",
  "lat": 123,
  "lng": 123,
  "deposit": 0
}
'
{
  "message": "Property successfully updated"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

propertyId
integer<int64>
required

ID of the property

Body

Send only fields to modify

title
string
description
string
address
string
city
string
images
string<uri>[]

Array of image URLs, each their own comma-separated string

price_pw
integer

Weekly price as a string to preserve precision

bedrooms
integer
Required range: x >= 0
bathrooms
integer
Required range: x >= 0
postcode
string
lat
number<double> | null
lng
number<double> | null
deposit
integer
default:0

Defaults to 0 if not supplied

Response

Updated

message
string