Skip to main content
API

Add or replace a tariff in an existing location of an integration between customer and third party

x-ms-visibility: "important"

Use POST to add a tariff and PUT to replace the current tariff with a new one in location of an integration. If only locationId exists in the request body, the tariff will be set to the whole location. If chargerIds exist, the tariff is set only to those chargers and if no sockets are mentioned, then all the sockets get the tariff. If sockets exist, the tariff is set only those sockets.

Path Parameters
    integrationId string required

    Unique identifier for the integration

    tariffId string required

    Unique identifier for the tariff of the integration

Request Body

Request body with the location(s), charger (s) and/or sockets

    locations object[]
  • Array [
  • locationId string
    chargers object[]
  • Array [
  • chargerId string
    sockets string[]
  • ]
  • ]
Responses

Returns the integration id if update was successful


Schema
    integrationId string
Loading...