Links

Buildings

Learn how to create a building with the Buildings API.
Buildings can represent anything from a single property to a block of flats and it is used to group units into a single entity.

1. Create a building

You must provide at least an address, currency and name.
curl https://api.yorlet.com/v1/buildings \
-H "Authorization: Bearer {{API_KEY}}" \
-H "Content-Type: application/json" \
-d '{
"address": {
"line1: "26 Goodge Street",
"city": "London",
"postal_code": "W1T2QG",
"country": "GB"
},
"currency": "gbp",
"name": "Yorlet HQ"
}'
See the create a building API for a full list of parameters you can send.

2. Create units

Last modified 2yr ago