Learn how to create Building on Yorlet.

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 \
-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