Contracts

Add energy prices to a contract

Adds the contract energy prices for specific dates. The given dates should be in UTC, and set the price (in €/kWh) for the given hour.

put/users/{userId}/electricity-contracts/{contractId}/energy-prices

Request

  • Base URL
    https://connect.clever.gy
  • Auth
    API key in header clevergy-api-key

Path parameters

userIdstring required

Id of the user

contractIdstring required

Id of the contract

Request body

Example request

{
  "prices": [
    {
      "date": "2022-12-31T23:00:00"
    }
  ]
}

Response

Contract prices added successfully

Changes

No recorded changes to this operation across all 1 revision of this API.