GET
/
locations
/
{id}
/
configuration
/
Get location configuration
curl --request GET \
  --url https://sandbox.prezio.eu/api/locations/{id}/configuration/ \
  --header 'Authorization: <api-key>'
{
"consumer": {
"id": "con_123",
"external_id": "household_1",
"email": "john@example.com"
},
"local_consumer_type": {
"id": "lct_456",
"name": "Residential Standard",
"consumer_type": "RESIDENTIAL"
},
"tariffs": [
"tar_1",
"tar_2",
"tar_3"
],
"custom_time_of_use_plan": "ctou_789",
"tariffs_detail": [
{
"id": "tar_1",
"name": "DSO Standard",
"category": "DSO",
"organization": "Local Grid Operator"
}
]
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

id
string
required

Response

Detailed serializer that includes nested information about the configuration. Used for retrieve operations to provide more context.

consumer
object | null
required
local_consumer_type
object | null
required
tariffs
string[]
required

List of tariff IDs to assign to this location (e.g., ['tar_1', 'tar_2'])

tariffs_detail
object[]
required
custom_time_of_use_plan
string | null

Custom TOU plan ID (e.g., 'ctou_123'). Optional.