Managing locations

List of locations

You can use this API endpoint to get a list of locations:

Locations example curl request

1
2
3
4
curl -X 'GET' \
  'https://app.tracezilla.com/api/v1/example-company/locations?hide_blocked%5Beq%5D=1&include=partner' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer {yourBearerToken}'

Response sample

1
2
3
4
5
6
7
8
9
10
{
  "data": [
    {
      "id": "9eb34497-e393-46cc-9141-f4ad9f7ceea1",
      "number": 1,
      "partner_id": "feea330b-a635-411e-a3d5-9191c911d381",
      "name": "Headquarters",
      "country": "DK",
      "address": "Example road 123",
      ...