Skip to main content
PUT
Create or replace a property

Authorizations

Authorization
string
header
required

The API key, created in Settings › API, in the header Authorization: Bearer . The default.

Path Parameters

reference
string
required

Your reference for the property, the one in your CRM: 1 to 50 letters, digits, dots, hyphens or underscores, and not only dots. Case-sensitive.

Required string length: 1 - 50
Pattern: ^(?!\.+$)[A-Za-z0-9._-]{1,50}$
Example:

"SH-0042"

Body

application/json
type
enum<string>
required
Available options:
flat,
house,
countryhouse,
garage,
office,
commercial,
land,
storage,
building,
room
listings
object[]
required

One per operation: a sale, a rent, or both.

Required array length: 1 - 2 elements
address
object
bedrooms
integer | null

Kept for flats, houses, country houses, rooms and commercial premises; ignored for other types.

Required range: 0 <= x <= 99
bathrooms
integer | null

Ignored for garages, land, storage rooms and buildings.

Required range: 0 <= x <= 99
built_m2
integer | null

Ignored for land.

Required range: 1 <= x <= 999999
description
string | null

In Spanish: it is what your agents read.

Maximum string length: 4000
features
enum<string>[]
Available options:
terrace,
balcony,
lift,
parking,
pool,
garden,
air_conditioning,
storage_room,
fitted_wardrobes,
pets_allowed
agent_notes
string | null

Internal notes for your agents.

Maximum string length: 2000
images
object[]

In order: the first one is the cover.

Maximum array length: 50

Response

Replaced.

The property as saved, with warnings (empty if every photo was copied).

object
string
required
Allowed value: "property"
id
string<uuid>
required
reference
string | null
required

The Idealista code of the listing that matched your search; otherwise the first published listing's; with no code, your internal reference.

internal_reference
string | null
required

Your internal reference for the property.

type
enum<string>
required
Available options:
flat,
house,
countryhouse,
garage,
office,
commercial,
land,
storage,
building,
room
type_label
string
required

The type as labeled in Spanish: Piso, Ático, Chalet...

available
boolean
required

Has at least one published listing: on Idealista, or sent with available: true in PUT /properties/{reference}.

matched_operation
enum<string> | null
required

The operation of the listing whose code you searched. null if the search does not say: your internal reference on a property listed for both sale and rent, or several matches.

Available options:
sale,
rent,
null
summary
string
required

One line in Spanish, ready to drop into a message: "Piso de 3 habitaciones en Calle La Colina, 5 (Córdoba), en alquiler por 720 € al mes".

listings
object[]
required

Its listings, published ones first: on Idealista, or the ones sent with PUT /properties/{reference}.

city
string | null
required
province
string | null
required

From its city when the city is a province name ("CORDOBA" is Córdoba); otherwise from its postal code (Fuengirola, 29640, is Málaga).

address
string | null
required

Depends on the listing's visibility: street and number, street only, or null if hidden.

bedrooms
integer | null
required
bathrooms
integer | null
required
built_m2
integer | null
required
features
string | null
required

Highlights on one line: "Terraza, ascensor, garaje".

description
string | null
required

The listing description, in Spanish if available.

visit_hours
string | null
required
sales_agent
object | null
required

The listing's sales agent.

agent_notes
string | null
required

The internal notes you wrote for the agent.

images
object[]
required

Its photos, in the listing's order.

url
string | null
required

The reference listing on Idealista. Only with the production connection.

warnings
object[]
required

Only in the PUT /properties/{reference} response: the photos that were not copied. Empty if there were none.