Once the urn:concept:investments adverts is with the code=active, you are able to create all the units related to the investment advert. Those adverts are exactly the same as "normal" adverts, with an extra field required in the advert payload — parent_uuid from the previous request.

Body Params
json
Defaults to { "title": "[qatest-mercury] Ogłoszenie testowe", "description": "Czasami musimy dodać takie ogłoszenie, żeby zweryfikować działanie niektórych funkcji systemu. Liczymy na Twoją wyrozumiałość :) Radzimy skorzystać ponownie z naszej wyszukiwarki ofert.<br/><br/> Powodzenia w dalszych poszukiwaniach!", "category_urn": "urn:concept:apartments-for-sale", "parent_uuid": "be060341-45c4-4ce2-a368-45d0663a975d", "market": "primary", "contact": { "name": "Bartek Kowalski", "phone": "663774007", "email": "bartek.kowalski@testmail.com", "photo": "https://i.imgur.com/9Em2tky.png" }, "price": { "value": 750000, "currency": "PLN" }, "location": { "lat": 53.364719, "lon": 21.564647, "exact": true }, "images": [ { "url": "https://i.imgur.com/WozSfdQg.jpg" }, { "url": "https://i.imgur.com/3YNg1bI.jpg" } ], "attributes": [ { "urn": "urn:concept:building-type", "value": "urn:concept:apartment" }, { "urn": "urn:concept:floor", "value": "urn:concept:2nd-floor" }, { "urn": "urn:concept:net-area-m2", "value": "110" }, { "urn": "urn:concept:building-ownership", "value": "urn:concept:cooperative-ownership-with-land-and-mortage-register" }, { "urn": "urn:concept:status", "value": "urn:concept:ready-to-use" }, { "urn": "urn:concept:number-of-rooms", "value": "urn:concept:3" }, { "urn": "urn:concept:security", "value": "urn:concept:alarm" }, { "urn": "urn:concept:building-material", "value": "urn:concept:concrete" }, { "urn": "urn:concept:heating", "value": "urn:concept:gas" }, { "urn": "urn:concept:windows-type", "value": "urn:concept:aluminium" }, { "urn": "urn:concept:media-types", "value": "urn:concept:internet" }, { "urn": "urn:concept:equipment-types", "value": "urn:concept:furniture" }, { "urn": "urn:concept:extras", "value": "urn:concept:lift" }, { "urn": "urn:concept:remote-services", "value": "urn:concept:yes" } ], "site_urn": "urn:site:otodompl", "custom_fields": { "id": "test.2.08.2023.1", "reference_id": "TEST12345" }, "auto_extend": true }
Headers
string
Defaults to application/json
string
Defaults to application/json
string
Defaults to Bearer {{acces_token}}
string
Defaults to {{api_key}}
Responses

Language
Choose an example:
application/json