get https://api.amberflow.io/api/v1/customers//locations
Returns all locations for a customer, including the connected devices.
Log in to see full request history
Responses
Returns all locations for a customer, including the connected devices.
xxxxxxxxxx
curl --request GET \
--url https://api.amberflow.io/api/v1/customers/customer_id/locations \
--header 'accept: application/json'
xxxxxxxxxx
18{
"data": [
{
"id": "991fced7-024c-4162-abbe-320fec9de64f",
"address": "Nieuwe Hemweg 2, Amsterdam, Netherlands",
"latitude": 52.3938,
"longitude": 4.8677,
"devices": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "My Solar Inverter",
"device_type": "solar_inverter",
"brand": "ENPHASE"
}
]
}
]
}