Update listing
Listings API · listings.update
URL · Fields · Example · Response · Try it
URL and authentication
POST https://YOUR-BACKEND/api/automation/v1/execute
Send Authorization: Bearer <connection key>, Accept: application/json and Content-Type: application/json. Create a connection.
This operation requires write access and CRM permission edit_listing. The gateway invokes PUT /api/v1/app/listing/{id} internally. Use the POST URL above with your automation key, including for read and delete operations.
Request parameters
| Key | Type | Requirement |
|---|---|---|
operation | string | Required; exactly listings.update |
parameters.id | integer | Required; positive record ID from your CRM |
data | object | Required; see fields below |
idempotency_key | string | Required; 8–100 characters. Unique per action; keep unchanged for identical retries. |
Fields
location and all four declared location children are required even on update. The request declares assigned_to for assignment. Size becomes required for a non-land type when size or listing_type_id is supplied. New binary uploads are not supported.
Fields below belong inside data. Dot paths describe nested objects; * means each array item. nullable permits null and sometimes validates a supplied field. in: lists allowed values; min: and max: limit the value, length or item count. exists: and exists_in_company: require a valid record ID. Conditional rules such as required_if and required_with refer to other fields in the same payload. Use YYYY-MM-DD for date-only values and timestamps with timezone offsets for follow-ups.
| Field | Type | Requirement | Format / validation |
|---|---|---|---|
title | string | Optional | sometimes; string |
description | string | Optional | sometimes; string |
bathrooms | integer | Optional | nullable; integer |
is_exclusive | boolean | Optional | nullable; boolean |
bedrooms | integer | Optional | nullable; integer |
parkings | integer | Optional | nullable; integer |
price | number | Optional | nullable; numeric |
size | number | Conditional | numeric — Required for non-land listings when size or listing_type_id is supplied; otherwise nullable. |
plot_size | number | Optional | nullable; numeric |
total_floors | integer | Optional | nullable; integer; min:1 |
status | string | Optional | sometimes; string; in:draft,active,under_negotiation,reserved,finalizing,closed,archived |
furnished | string | Optional | nullable; string; in:furnished,semi-furnished,unfurnished |
developer_id | integer | Optional | nullable; integer; exists_in_company:developers |
build_year | string | Optional | nullable; date_format:Y |
documents | array | Optional | nullable; array |
documents.* | file | Optional | nullable; file; mimes:ppt,pptx,doc,docx,pdf,xls,xlsx; max:10240 — Binary upload is not supported by the JSON automation gateway; use the CRM upload interface. |
images | array | Optional | nullable; array |
images.* | string|object | Optional | nullable — Existing media reference: string or object with id, url, or key. New uploads are not supported by the automation gateway. Use the CRM to upload media. |
apply_watermark | boolean | Optional | nullable; boolean |
default_image | string | Optional | nullable; string |
listing_purpose | string | Optional | sometimes; string; in:sell,rent |
floor_number | integer | Optional | nullable; integer |
unit_number | string | Optional | nullable; string |
source_id | integer | Optional | nullable; integer; integer; exists_in_company:listing_sources |
default_period | string | Optional | nullable; string |
rent_frequency | string | Optional | nullable; string; in:daily,weekly,monthly,yearly,quarterly,half_yearly |
video_link | string | Optional | nullable; url |
vr_link | string | Optional | nullable; url |
listing_type_id | integer | Optional | sometimes; integer; exists:listing_types,id |
location | object | Required | required; array |
location.address | string | Required | required; string |
location.long | number | Required | required; numeric |
location.lat | number | Required | required; numeric |
location.place_id | string | Required | required; string |
owner_id | integer | Optional | nullable; integer; exists_in_company:leads |
assigned_to | integer | Optional | nullable; integer; exists_in_company:users |
amenities | array | Optional | nullable; array |
amenities.* | integer | Optional | nullable; integer; integer; exists_in_company:amenities |
floor_plans | array | Optional | nullable; array |
floor_plans.*.id | integer | Optional | nullable; integer; exists:floor_plans,id |
floor_plans.*.title | string | Conditional | required_with:floor_plans; string |
floor_plans.*.bedrooms | integer | Optional | nullable; integer |
floor_plans.*.price | number | Optional | nullable; numeric |
floor_plans.*.size | string | Optional | nullable; string |
floor_plans.*.images | array | Optional | nullable; array |
floor_plans.*.images.* | string|object | Optional | nullable — Existing media reference: string or object with id, url, or key; no binary uploads. |
Example request
Replace the example IDs and values with records in your installation. Supply any additional custom fields required by your company.
{
"operation": "listings.update",
"parameters": {
"id": 1
},
"data": {
"location": {
"address": "Dubai Marina, Dubai",
"lat": 25.0805,
"long": 55.1403,
"place_id": "REPLACE_WITH_REAL_PLACE_ID"
}
},
"idempotency_key": "example-event-12345"
}
Response
Returns the updated listing in data. Use data.id for subsequent requests. Related fields depend on the resource and your permissions.
The gateway preserves the underlying HTTP status and JSON body. Successful requests return HTTP 200. A response may also include localized message fields.
Illustrative response excerpt (additional fields may be returned):
{
"status": "success",
"data": {
"id": 456,
"title": "Example apartment",
"status": "draft",
"listing_purpose": "sell"
}
}
Errors
| HTTP status | Meaning |
|---|---|
| 400 | A CRM business rule rejected the action. |
| 401 | Missing, invalid, expired or revoked connection key. |
| 403 | Connection access or CRM permissions do not allow this action. |
| 404 | Operation or record unavailable. |
| 409 | This idempotency key was already used with a different request. |
| 413 | Request or result exceeds its size limit; reduce payload or page size. |
| 422 | Missing or invalid fields, or a CRM business rule rejected the operation. |
| 429 | Rate limit exceeded; wait before retrying. |
| 500 | The server could not complete the operation. |
Validation failures may return message / errors, or an error string with an optional fields array. The tester shows the actual HTTP status and full body. Read about limits and retries.
Try it
Brixit API v1
Try this request
Requests run from your browser to your installation. Enter the backend URL shown in Brixit. Your connection key stays in this component’s memory and is cleared when you leave this page.
id must be a positive integer record ID.Code uses a connection-key variable; your entered key is never included in copied examples.