curl --request PATCH \
--url https://api.poelis.com/v1/public/properties/{property_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"key": "<string>",
"value": "<unknown>",
"display_unit": "<string>",
"reason": "<string>",
"description": "<string>"
}
'import requests
url = "https://api.poelis.com/v1/public/properties/{property_id}"
payload = {
"name": "<string>",
"key": "<string>",
"value": "<unknown>",
"display_unit": "<string>",
"reason": "<string>",
"description": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
key: '<string>',
value: '<unknown>',
display_unit: '<string>',
reason: '<string>',
description: '<string>'
})
};
fetch('https://api.poelis.com/v1/public/properties/{property_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"category": "POWER",
"createdBy": {
"id": "auth0|550e8400-e29b-41d4-a716-446655440000",
"imageUrl": "https://example.com/avatar.png",
"userName": "Jane Doe"
},
"deleted": false,
"display_unit": "kW",
"id": "550e8400-e29b-41d4-a716-446655440000",
"item_id": "660e8400-e29b-41d4-a716-446655440001",
"key": "max-power",
"name": "Maximum Power",
"readable_id": "max-power",
"references": [
{
"file_link_id": "890e8400-e29b-41d4-a716-446655440000",
"page": 42
}
],
"type": "numeric",
"value": 150.5
}{
"error": "unauthorized",
"message": "Invalid or missing API key"
}{
"error": "forbidden",
"message": "Access denied"
}{
"error": "not_found",
"message": "Not found"
}{
"error": "validation_error",
"message": "Invalid data format",
"details": {
"errors": [
{
"loc": [
"body",
"field_name"
],
"msg": "field required",
"type": "value_error.missing"
}
]
}
}{
"error": "rate_limit_exceeded",
"message": "Too many requests"
}Update property
Update a property’s metadata (name, key, value, display_unit).
display_unit applies only to numeric and matrix properties; when provided it must be an allowed unit for the property’s category. When value is provided it must match the property type (same as create). Invalid value or display_unit return 400 with error invalid_value or invalid_unit. Only draft properties can be updated. Supported types: numeric, matrix, text, date, status. Formula properties cannot be updated via the public API.
When the product has requireChangeTitleAndDescription enabled, changes to name, value, or display_unit must include reason (change title) and description. Omitting either returns 400 with error CHANGE_TITLE_AND_DESCRIPTION_REQUIRED.
curl --request PATCH \
--url https://api.poelis.com/v1/public/properties/{property_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"key": "<string>",
"value": "<unknown>",
"display_unit": "<string>",
"reason": "<string>",
"description": "<string>"
}
'import requests
url = "https://api.poelis.com/v1/public/properties/{property_id}"
payload = {
"name": "<string>",
"key": "<string>",
"value": "<unknown>",
"display_unit": "<string>",
"reason": "<string>",
"description": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
key: '<string>',
value: '<unknown>',
display_unit: '<string>',
reason: '<string>',
description: '<string>'
})
};
fetch('https://api.poelis.com/v1/public/properties/{property_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"category": "POWER",
"createdBy": {
"id": "auth0|550e8400-e29b-41d4-a716-446655440000",
"imageUrl": "https://example.com/avatar.png",
"userName": "Jane Doe"
},
"deleted": false,
"display_unit": "kW",
"id": "550e8400-e29b-41d4-a716-446655440000",
"item_id": "660e8400-e29b-41d4-a716-446655440001",
"key": "max-power",
"name": "Maximum Power",
"readable_id": "max-power",
"references": [
{
"file_link_id": "890e8400-e29b-41d4-a716-446655440000",
"page": 42
}
],
"type": "numeric",
"value": 150.5
}{
"error": "unauthorized",
"message": "Invalid or missing API key"
}{
"error": "forbidden",
"message": "Access denied"
}{
"error": "not_found",
"message": "Not found"
}{
"error": "validation_error",
"message": "Invalid data format",
"details": {
"errors": [
{
"loc": [
"body",
"field_name"
],
"msg": "field required",
"type": "value_error.missing"
}
]
}
}{
"error": "rate_limit_exceeded",
"message": "Too many requests"
}Body
Request to update a property.
Response
Updated property
Unified public property representation.
Property value. Numeric: plain number or matrix (category/display_unit always set; matrix value string e.g. "[[1,2,3],[4,5,6]]") or formula (category/display_unit never set; value is the result of the computation including unit if any). Text: string. Date: string, ISO date (e.g. "2025-01-29"). Status: string, one of "Draft", "Under Review", "Done".