Documentation

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.

unit-types
{
  "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.

FieldTypeRequiredNotes
idtextYesUnique in the centre. The same as its data-unit-id in the floor plan
numbertextYesThe one the customer sees on the door: “21”, “A-3”
areaM2numberYesIts floor area. The portal puts it in its category: Closet, Dressing room, Room, Studio, Flat or House
statusavailable, occupied or blockedYesFree, rented, or not available right now
monthlyPriceamount or nullYesIts monthly price, with or without VAT according to pricesIncludeVat. null if it isn't rented through the portal
unitTypeIdtextNoIts size, one of unit-types
floorIdtextNoIts floor, if the floor plan has several
levellower, middle or upperNoOnly in a size of lockers: which one it is. middle, only in a Triple. Without it, the lower one
widthM and depthMmetresNoIts width and its depth, from 0.1 to 50: both or neither. areaM2 can't be more than their product
heightMmetresNoFrom 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 its level: lower, on the floor, middle or upper.
  • A size with a middle locker is a Triple: its lockers count as 0.83 m high, unless they carry their own heightM.
  • 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.
units
{
  "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.

A unit with its measurements
{ "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.

Questions? Write to us at team@findqbox.com.