Properties & Listings
Update a property
Update an existing, manually managed property record.
PATCH
Update a property
Overview
Partially updates a property record by its Ask Wireid. Only the fields included in the request body are changed; omitted fields are left as-is.
Send the request as application/json. To attach or replace supporting documents, use the asset files endpoints instead of this one.
Sending an explicit
null for a field does not clear it — the field keeps
its previous value. There is currently no verified way to clear a field via
this endpoint.Path parameters
Request
Body (application/json)
Accepts the same fields as Create a property (exceptpurpose, see below), all optional — include only the fields you want to change.
Core fields
purpose is not accepted on this endpoint — it’s set on create and
isn’t changed via update. It’s still returned in the response below.Location
address, latitude, longitude, property_type, price, and
floor_number were verified against a live PATCH response. Per the
backend’s own schema, municipality is not a writable field —
region, regional_unit, and neighborhood (plain integer IDs) are what
the endpoint actually accepts for geography.Classification
Property details
property_type is the only field below with a server-enforced enum,
verified against the backend’s own schema. property_usage,
heating_type, energy_class, condition, and view are free-text
strings (up to 255 characters) as far as the API is concerned — the values
listed for them are conventions used by the Ask Wire web app, not
constraints the API enforces.Cadastral details
sheet_number, plan_number, parcel_block_number, parcel_number,
and block_number are not fields on this endpoint — per the backend
schema, only the fields below are accepted here. Those other identifiers
belong to a separate Cyprus cadastral-search lookup flow in the app, not
to asset updates.Example request
Response
Returns the full, updated asset record. Verified against a live response — field set and shapes below are accurate as observed, not assumed.Response fields
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Available options:
Apartment, House, Field, Plot, Warehouse, Shop, Office, Storage, Retail, Right to Build, Parking space, Other Must be valid HTML, e.g.
text
.Free-text district name.
Available options:
greece, cyprus Available options:
rent, sale, sold, Available options:
active, inactive, Free text, not a server-enforced enum.
Free text, not a server-enforced enum.
Free text, not a server-enforced enum.
Free text, not a server-enforced enum.
Free text, not a server-enforced enum.
Maximum string length:
30Response
The updated property
A manually managed property record, as returned by create, retrieve, and update. Verified against live responses.
HTML content.
Available options:
rent, sale, sold, Decimal string, e.g. "150000.0000".
Available options:
greece, cyprus Available options:
Apartment, House, Field, Plot, Warehouse, Shop, Office, Storage, Retail, Right to Build, Parking space, Other Available options:
residential, commercial, mixed Available options:
active, inactive, 