Create a property
Changed onCreates a new property in your EasyBroker account, which will be published to all your connected apps.
Request
- Base URLhttps://api.easybroker.com/v1
- URLhttps://api.easybroker.com/v1/properties
- AuthAPI key in header X-Authorization
Request body
Example request
{
"property_type": "house",
"title": "Beautiful property in Condesa.",
"description": "This property is very well-lit in a lovely neighborhood overlooking a park.",
"status": "not_published",
"private_description": "Selling this property is our top priority and we are willing to offer a discount.",
"operations": [
{
"active": true,
"amount": 500000,
"currency": "USD",
"commission": {
"type": "amount",
"value": 1000,
"currency": "USD"
},
"foreclosure": true,
"adjudicated": true
}
],
"agent": "robert@properties.com",
"show_prices": true,
"bedrooms": 1,
"bathrooms": 1,
"half_bathrooms": 1,
"parking_spaces": 1,
"conservation_state": "good",
"floor": "1",
"floors": 5,
"maintenance_amount": 1500,
"maintenance_currency": "MXN",
"internal_id": "PROPERTY123",
"location": {
"name": "Carmen Serdan, Monterrey, Nuevo León",
"street": "Av. México",
"exterior_number": "21A",
"interior_number": "304",
"cross_street": "Av. España",
"postal_code": "06140",
"latitude": 30.01,
"longitude": 30.01
},
"tags": [
"premium",
"exclusive"
],
"features": [
"elevator",
"pets allowed",
"fireplace"
],
"share_commission": true,
"collaboration_notes": "We only share commission with agencies located in the same city.",
"images": [
{
"title": "Cozy living room",
"url": "https://example.com/images/living-room.png"
}
],
"videos": [
"http://youtu.be/F-X4SLhorvw",
"https://www.youtube.com/watch?v=cowtgmZuai0"
],
"virtual_tour": "https://my.matterport.com/show/?m=TesXpMS6SkN",
"show_exact_location": true,
"construction_size": 80,
"lot_size": 100,
"lot_length": 10,
"lot_width": 10,
"covered_space": 80,
"uncovered_space": 25,
"shared_commission_percentage": 50
}Response
The property was created successfully
Example response
{
"public_id": "EB-XXX123",
"title": "Beautiful property in Condesa",
"foreclosure": true,
"adjudicated": true,
"images": [
{
"url": "https://assets.easybroker.com/property_images/123/456/EB-010101.jpg?s=3f9a1c2e7b6d4a08&version=1713484800",
"title": "Fitted kitchen with granite countertops"
}
],
"description": "This property is very well-lit in a lovely neighborhood overlooking a park.",
"conservation_state": "good",
"internal_id": "custom-id-001",
"maintenance_amount": 1500,
"maintenance_currency": "MXN",
"property_type": "Apartment",
"agent": {
"id": 1234,
"name": "John Smith",
"full_name": "John Smith Doe",
"mobile_phone": "5555550000",
"profile_image_url": "https://www.easybroker.com/assets/product/logo-be4da843987ccd1c05e26f8703f1787847471b36d08bdb1ec8a91ce4007b0e98.svg",
"email": "john@smith.com"
},
"features": [
{
"name": "Pets allowed",
"category": "General"
}
],
"public_url": "https://www.easybroker.com/inmueble/john-smith-amazing-house",
"collaboration_notes": "25% per referral",
"property_files": [
"https://www.easybroker.com/assets/product/logo-be4da843987ccd1c05e26f8703f1787847471b36d08bdb1ec8a91ce4007b0e98.svg"
],
"videos": [
"https://www.youtube.com/watch?v=zVRu7AktR48"
],
"virtual_tour": "https://my.matterport.com/show/?m=yHsh2roFXnp",
"shared_commission_percentage": 50,
"private_description": "Selling this property is our top priority and we are willing to offer a discount.",
"location": {
"name": "Condesa, Cuauhtemoc, Ciudad de México",
"latitude": 20.676145,
"longitude": -103.368962,
"street": "Av. México",
"postal_code": "06700",
"show_exact_location": true,
"exterior_number": "21A",
"interior_number": "304"
},
"tags": [
"premium",
"exclusive"
],
"show_prices": true,
"share_commission": true,
"operations": [
{
"amount": 500000,
"formatted_amount": "$500,000 USD",
"currency": "USD",
"commission": {
"type": "amount",
"value": 10000,
"currency": "USD"
}
}
]
}Changes
- breaking
the
//////request property's minItems was increased to1 - breaking
the response property
////became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the response property
//////became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the response property
//////became nullable for the status - breaking
the response property
//////became nullable for the status - breaking
the response property
//////became nullable for the status - breaking
the response property
//////became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
/became nullable for the status - breaking
response property
allOf[PropertySingleBase]/agelist-of-types was widened by adding typesintegerto media typeapplication/jsonof response200 - breaking
the
////response's property type changed fromintegertostringfor status - breaking
the
////response's property type changed fromintegertonumberfor status - breaking
the
////response's property type changed fromintegertonumberfor status - warning
the
//////request property's exclusiveMinimum was set totrue - warning
the
////////request property's exclusiveMinimum was set totrue - warning
the
//request property's maxLength was set to60 - warning
the
//////request property's max was set to100000000000.00 - warning
the
////////request property's max was set to100000000000.00 - warning
the
//////request property's min was set to0.00 - warning
the
////////request property's min was set to0.00 - warning
removed the request property
- warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
////// - info
added the new optional request property
- info
request property
list-of-types was widened by adding typesintegerto media typeapplication/json - info
the
request property type was generalized fromintegertonumber - info
the
request property type was generalized fromintegertonumber - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
//////to the response with the status
- breaking