Skip to main content
PATCH
Update Energy Profile
Saves one or more answers about the energy setup at a location. Send only the fields you want to change: fields you leave out keep their value, and null clears a field. The first request creates the profile, so you can save each answer as soon as the user gives it. Prices are in euro per kWh including VAT: a number from 0 to 5 with at most 5 decimals.
string
required
The UUID of the location.
boolean
Whether the location has solar panels.
boolean
Whether the location has a home battery.
string
The electricity contract. One of fixed, variable or dynamic.
string
The energy supplier. Maximum 100 characters.
number
The price per kWh. For a fixed or variable contract, the normal or single rate.
number
The off-peak (low) rate per kWh.
number
What the user gets per kWh fed back to the grid.
number
For a dynamic contract, the supplier’s markup per kWh on the day-ahead price.
boolean
Send true when the user has finished answering. The first time, this sets completed_at to the current time; later requests keep that first time. false is not accepted.

Response

Returns 200 with the whole profile, also when the request created it.
object
The energy profile of the location.