Level 1 · Connected
Sizes, prices and units
The centre's sizes, each unit's status and price, and every change in real time.
Sizes first, then units. If you send sizes or units for a centre you haven't sent yet, the response is 409 facility_not_ready.
Its sizes
PUT /facilities/{facilityId}/unit-types, with version and all its unitTypes: each one's id, its name (“S”, “Size M”), up to 40 characters, and, if you like, its color (#RRGGBB) and its format: unit, storage units (by default), or locker, lockers. If you don't send the colour, the portal picks one. Those not included are removed.
{
"version": "t-2026-11-08",
"unitTypes": [
{ "id": "S", "name": "Size S", "color": "#F2B33D" },
{ "id": "M", "name": "Size M", "color": "#1E6B52" },
{ "id": "TW", "name": "Twin locker", "format": "locker" }
]
}Its units
PUT /facilities/{facilityId}/units, with version and all its units. Those not included are removed.
| Field | Type | Required | Notes |
|---|---|---|---|
id | text | Yes | Unique in the centre. The same as its data-unit-id in the floor plan |
number | text | Yes | The one the customer sees on the door: “21”, “A-3” |
areaM2 | number | Yes | Its floor area. The portal puts it in its category: Closet, Dressing room, Room, Studio, Flat or House |
status | available, occupied or blocked | Yes | Free, rented, or not available right now |
monthlyPrice | amount or null | Yes | Its monthly price, with or without VAT according to pricesIncludeVat. null if it isn't rented through the portal |
unitTypeId | text | No | Its size, one of unit-types |
floorId | text | No | Its floor, if the floor plan has several |
level | lower, middle or upper | No | Only in a size of lockers: which one it is. middle, only in a Triple. Without it, the lower one |
widthM and depthM | metres | No | Its width and its depth, from 0.1 to 50: both or neither. areaM2 can't be more than their product |
heightM | metres | No | From 0.5 to 10. Without it, its format's: 2.50 m, or 1.25 m for a Twin's locker and 0.83 m for a Triple's |
Nothing about customers is ever sent.
Lockers: Twins and Triples
Some centres also have lockers: smaller units, one above another in the height of a storage unit. Two of 1.25 m are a Twin; three of 0.83 m, a Triple.
- Their size carries
"format": "locker". A size's units are all storage units or all lockers. - Each locker is its own unit, with its
id, its number, its status and its price, and itslevel:lower, on the floor,middleorupper. - A size with a
middlelocker is a Triple: its lockers count as 0.83 m high, unless they carry their ownheightM. - Each one carries the floor area of its spot in
areaM2: they're one above another, not side by side. - On the floor plan, the spot is two or three shapes, one per locker. See Floor plan and photos.
{
"version": "u-2026-11-08T09:05:00Z",
"units": [
{ "id": "T-101", "number": "101", "areaM2": 1.5, "status": "available", "monthlyPrice": 25,
"unitTypeId": "TW", "level": "lower" },
{ "id": "T-102", "number": "102", "areaM2": 1.5, "status": "occupied", "monthlyPrice": 22,
"unitTypeId": "TW", "level": "upper" }
]
}On the portal, lockers show apart from storage units: in their own group on the listing and after the storage units in the search. The listing's “from” price only counts storage units. They're for the small sizes, up to about 3.5 m².
Each unit's measurements
If your software has them, send each unit's widthM and depthM, in metres, and its heightM if it isn't its format's. The portal shows a size's measurements when all its units share them, and its storage simulator uses them to tell someone whether everything they want to store fits. areaM2 is still the one you send, and it can't be more than width × depth.
{ "id": "T-021", "number": "21", "areaM2": 2.6, "status": "available", "monthlyPrice": 49,
"unitTypeId": "M", "widthM": 2, "depthM": 1.3 }A unit that changes
PUT /facilities/{facilityId}/units/{unitId}, with the same fields, as soon as it changes: it's rented, freed or its price changes. That way the portal has the free units in real time.
curl -X PUT https://api.findqbox.com/connect/v1/facilities/madrid-01/units/T-021 \
-H "Authorization: Bearer $TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"number": "21", "areaM2": 2.6, "status": "occupied", "monthlyPrice": 49, "unitTypeId": "M"}'VAT
Send prices as the centre has them, with or without VAT, and say which in pricesIncludeVat. The portal always calculates and shows the final price, with its country's VAT.