Update an existing unit.
Update a unit
This endpoint updates an existing unit.
The unit to update is identified by its internal reference, its external identifier, or both. If both are given, they must refer to the same unit, otherwise the request fails.
This operation fully overwrites the unit. Any field not included in the request will be cleared, not left unchanged. To update only specific fields, first retrieve the unit's current data and include all existing values in the request together with the changes.
Request Fields
Field | Type | Required | Description |
|---|---|---|---|
reference | string | Conditional | Internal identifier of the unit to update. Either reference or externalIdentifier must be provided. If both are given, the unit must match both values. Maximum length 100 characters. |
externalIdentifier | string | Conditional | External identifier of the unit to update, as set by the integrating system. Either reference or externalIdentifier must be provided. If both are given, the unit must match both values. Maximum length 100 characters. |
name | string | No | Name of the unit. Maximum length 256 characters. |
categoryName | string | Yes | Category assigned to the unit. Maximum length 256 characters. |
extraRelations | array of object | No | Additional relations to link to the unit. Only existing relations can be linked. |
extraRelations.extraRelationTypeName | string | No | Relation type to assign to the linked party for this object. |
extraRelations.relationReference | string | No | Reference of the relation to link. Must correspond to an existing relation already registered in Bloxs. |
remarks | string | No | Free text remarks to store on the unit. |
underManagementSince | string (date) | No | Date the unit came under management. ISO 8601 format, for example 2026-01-01. |
complexReference | string | Yes | Reference of the complex the unit belongs to. Must be an existing complex. Maximum length 100 characters. |
sectionReference | string | No | Reference of the section the unit belongs to, if applicable. Must be an existing section within the given complex. Maximum length 100 characters. |
address.street | string | Yes | Street name of the unit's address. Maximum length 200 characters. |
address.houseNumber | string | No | House number of the unit's address, including any suffix. Can also be used to enter a room number. Maximum length 40 characters. |
address.postalCode | string | Yes | Postal code of the unit's address. Maximum length 20 characters. |
address.city | string | Yes | City of the unit's address. Maximum length 200 characters. |
address.countryISOCode | string | Yes | ISO 3166-1 alpha-2 country code of the unit's address. Maximum length 2 characters. |
rawFloorArea | number (double) | No | Raw floor area of the unit, in square meters, measured according to the NEN2580 standard. Decimals are separated with a period. Minimum 0.01. |
rentableFloorArea | number (double) | No | Rentable floor area of the unit, in square meters, measured according to the NEN2580 standard. Decimals are separated with a period. Minimum 0.01. |
usableFloorArea | number (double) | No | Usable floor area of the unit, in square meters. Minimum 0.01. |
energyIndex | number (double) | No | Energy index of the unit. |
divisibleInfo.divisibleType | integer | Yes (within divisibleInfo) | Divisibility type of the unit. Valid values are 1 (SingleUnit), 2 (DivisibleByUnits), or 3 (DivisibleByFloorArea). |
divisibleInfo.divisibleFloorAreaType | integer | No | Floor area type used when divisibleType is DivisibleByFloorArea. Valid values are 0 (NA), 1 (RawFloorArea), 2 (RentableFloorArea), or 3 (UsableFloorArea). |
divisibleInfo.divisibleValue | number (double) | No | Threshold value used together with divisibleFloorAreaType to determine divisibility. |
Response Fields
Field | Type | Required | Description |
|---|---|---|---|
reference | string | No | Internal identifier of the unit. |
externalIdentifier | string | No | External identifier of the unit, as set by the integrating system. |
name | string | No | Name of the unit. |
displayName | string | No | Display name of the unit, as shown in Bloxs. |
ownerReference | string | No | Reference of the owner the unit belongs to. |
categoryName | string | No | Category assigned to the unit. |
extraRelations | array of object | No | Additional relations linked to the unit. Empty or omitted when no extra relations are set. |
extraRelations.extraRelationTypeName | string | No | Relation type assigned to the linked party for this object. |
extraRelations.relationReference | string | No | Reference of the linked relation. |
remarks | string | No | Free text remarks stored on the unit. |
underManagementSince | string (date-time) | No | Date the unit came under management. ISO 8601 format, for example 2026-01-01T00:00:00. |
salesDate | string (date-time) | No | Date the unit was sold, if applicable. ISO 8601 format. |
lastModified | string (date-time) | Yes | Date and time the unit was last modified. ISO 8601 format, UTC. |
complexReference | string | No | Reference of the complex the unit belongs to. |
sectionReference | string | No | Reference of the section the unit belongs to, if applicable. |
address.street | string | Yes | Street name of the unit's address. Maximum length 200 characters. |
address.houseNumber | string | No | House number of the unit's address, including any suffix. Maximum length 40 characters. |
address.postalCode | string | Yes | Postal code of the unit's address. Maximum length 20 characters. |
address.city | string | Yes | City of the unit's address. Maximum length 200 characters. |
address.countryISOCode | string | Yes | ISO 3166-1 alpha-2 country code of the unit's address. Maximum length 2 characters. |
rawFloorArea | number (double) | No | Raw floor area of the unit, in square meters, measured according to the NEN2580 standard. Decimals are separated with a period. |
rentableFloorArea | number (double) | No | Rentable floor area of the unit, in square meters, measured according to the NEN2580 standard. Decimals are separated with a period. |
usableFloorArea | number (double) | No | Usable floor area of the unit, in square meters. |
energyIndex | number (double) | No | Energy index of the unit. |
isDivisible | boolean | Yes | Indicates whether the unit can be divided further. Derived from the assigned category. |
divisibleInfo.divisibleType | integer | Yes | Divisibility type of the unit. Valid values are 1 (SingleUnit), 2 (DivisibleByUnits), or 3 (DivisibleByFloorArea). |
divisibleInfo.divisibleFloorAreaType | integer | No | Floor area type used when divisibleType is DivisibleByFloorArea. Valid values are 0 (NA), 1 (RawFloorArea), 2 (RentableFloorArea), or 3 (UsableFloorArea). |
divisibleInfo.divisibleValue | number (double) | No | Threshold value used together with divisibleFloorAreaType to determine divisibility. |
SingleUnit = 1 DivisibleByUnits = 2 DivisibleByFloorArea = 3
NA = 0 RawFloorArea = 1 RentableFloorArea = 2 UsableFloorArea = 3
The unit was updated
SingleUnit = 1 DivisibleByUnits = 2 DivisibleByFloorArea = 3
NA = 0 RawFloorArea = 1 RentableFloorArea = 2 UsableFloorArea = 3
The unit data has validation issues