Update Facility
Update Facility
Modify an existing facility’s details
PUT
Update Facility
Update Facility
Update an existing facility in your organization. Only include the fields you want to change — all other fields remain unchanged.Request
Path Parameters
uuid
required
The UUID of the facility to updateExample:
550e8400-e29b-41d4-a716-446655440000Headers
string
required
Your API key for authenticationExample:
sk_live_1234567890abcdefstring
required
Your organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faBody Parameters
All fields are optional — only include what you want to change.string
Facility name
string
Physical address
string
ISO country code
string
Facility type
array[string]
Consumption categories
array[string]
CUPS codes
string
Status:
active or archivednumber
Logistic factor (0 to 1)
Response
Returns the updated facility object.string
Facility UUID
string
Facility name
string | null
Physical address
string
ISO country code
string
Facility type
array[string] | null
Enabled consumption categories
array[string] | null
List of CUPS codes
string
Facility status:
active or archivednumber | null
Total CO2e emissions (tCO2e)
number | null
CO2e emissions from biomass sources
number | null
Logistic factor for scope 2 (0 to 1)
string | null
Purpose type of the facility
datetime
Creation timestamp (ISO 8601)
string | null
Last update timestamp (ISO 8601)
integer
Number of invoices in
review statusinteger
Number of configured categories with no invoices
string | null
Water type of the waste water treatment line (only for
waste_water_facilities)boolean | null
Whether methane is burned (only for
waste_water_facilities)object | null
Waste water treatment line config (only for
waste_water_facilities)object | null
Sludge treatment line config (only for
waste_water_facilities)object | null
Water discharge line config (only for
waste_water_facilities)Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key403 Forbidden
Cause: The authenticated user is not a member of the organization404 Not Found
Cause: The facility does not exist or belongs to another organization422 Unprocessable Entity
Cause: Invalid field values (e.g. invalid country code or status)Related Endpoints
Get Facility
Retrieve facility details
Delete Facility
Remove a facility