POST
/
v1.0.0
/
link
/
users
/
{userId}
/
vendor-accounts
/
{vendorAccountId}
/
tariffs
[
  {
    "isLinked": true,
    "vendor": "TIBBER",
    "countryCode": "DE",
    "name": "Tibber Bürgerfelder Str.",
    "externalId": "8413731391660801",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
]

Authorizations

X-API-KEY
string
headerrequired

ApiKey used for authorization and authentication

Path Parameters

userId
string
required

User ID

vendorAccountId
string
required

Vendor account ID

Body

application/json

Object for tariff IDs request that should be added to the Energy Hub Alliance.

externalTariffs
string[]
required

List of external IDs of tariffs to be linked to the Energy Hub Alliance.

Response

200 - application/json
isLinked
boolean
required

Indicates if the tariff is linked with the Energy Hub Alliance.

vendor
enum<string>
required

The vendor of the tariff.

Available options:
TIBBER,
OSTROM
countryCode
string
required

The country code of the tariff.

name
string
required

The name of the tariff.

externalId
string
required

ID of the tariff in external vendor system.

id
string
required

The ID of the tariff.