Docs
Sites APIInventory

Unit types

Studio, one bedroom, two bedroom and so on, with counts and bounds, across the website's properties or one. Tags: `inventory:{property_id}`.

GET/api/sites/v1/unit-types

Studio, one bedroom, two bedroom and so on, with counts and bounds, across the website's properties or one. Tags: inventory:{property_id}.

Authorization

websiteToken
AuthorizationBearer <token>

A Sanctum token scoped to one website.

In: header

Query Parameters

property?string

A property slug on this website. Unknown slug is a 404.

Header Parameters

X-Resi-Website?string

Website id. Overrides Host resolution for builds running where Host is meaningless. The token must still be scoped to this website.

If-None-Match?string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/sites/v1/unit-types"
{  "data": [    {      "slug": "string",      "name": "string",      "bedrooms": 0,      "units_count": 0,      "available_units_count": 0,      "rent": {        "min": 0,        "max": 0,        "base_min": 0,        "base_max": 0      },      "sqft": {        "min": 0,        "max": 0      },      "fees": {        "monthly_total": 0,        "monthly_total_max": 0      }    }  ],  "meta": {    "cache": {      "tags": [        "string"      ],      "ttl": 0    }  }}