v1

latestOpenAPI 3.0.12026-07-243686491.1 MB
Sites

Update the opening hours of a (charge) site

Required scope: charge-points:write </br>Organization authorization: supported

put/api/v1/sites/{siteId}/opening-hours

Path parameters

siteIdinteger required

Request body

chargingWhenClosedboolean nullable

Indicates if charging is allowed when closed

Example request

{
  "openingTimes": {
    "regularHours": [
      {
        "weekday": 1,
        "periodBegin": "08:00",
        "periodEnd": "17:00"
      }
    ],
    "exceptionalOpenings": [
      {
        "periodBegin": "2025-06-01T08:00:00Z",
        "periodEnd": "2025-06-01T18:00:00Z"
      }
    ],
    "exceptionalClosings": [
      {
        "periodBegin": "2025-06-01T08:00:00Z",
        "periodEnd": "2025-06-01T18:00:00Z"
      }
    ]
  },
  "chargingWhenClosed": true
}

Response

Opening hours updated

chargingWhenClosedboolean nullable

Indicates if charging is allowed when closed

Example response

{
  "openingTimes": {
    "regularHours": {
      "weekday": 1,
      "periodBegin": "08:00",
      "periodEnd": "17:00"
    },
    "exceptionalOpenings": {
      "periodBegin": "08:00",
      "periodEnd": "17:00"
    },
    "exceptionalClosings": {
      "periodBegin": "08:00",
      "periodEnd": "17:00"
    }
  },
  "chargingWhenClosed": true
}