Get location info
GET the location info related to your API key. You can opt-in to get the device list as well
GET
/v1/locations/own
authorization<token>
To get an API key, please contact us. We'll be happy to help you.
In: header
Query Parameters
devices?boolean
Pass true if you want the device list of the location.
Value in
true
Response Body
curl -X GET "https://api.pragma-project.dev/v1/locations/own?devices=true"
{
"id": "d6f5e4d3-c2b1-42a0-9c68-31a3b4d5e6f7",
"name": "Monzù Grands Hommes",
"address": "Centre commercial des, 12 Pl. des Grands Hommes",
"siret": "43779154400012",
"city": "Bordeaux",
"country": "France",
"naf": "5610A",
"phone": "05 56 48 55 24",
"text": "",
"tva": "FR76437791544",
"url": "https://www.monzu.fr/grands-hommes",
"zip": "33000",
"deviceList": [
{
"id": "76f1f462-5e16-484b-b348-83d9ed5dc419",
"name": "Caisse Principal",
"model": "iPad Pro"
}
]
}