Skip to main content
GET
/
organizations
/
{organizationId}
/
locations
List locations
curl --request GET \
  --url https://api.openfiskal.com/v1/organizations/{organizationId}/locations \
  --header 'Authorization: Bearer <token>'
{
  "object": "<string>",
  "data": [
    {
      "name": "Berlin Mitte",
      "address": {
        "line1": "Friedrichstraße 42",
        "line2": "<string>",
        "city": "Berlin",
        "state": "<string>",
        "postal_code": "10117",
        "country": "DE"
      },
      "timezone": "Europe/Berlin",
      "metadata": {},
      "id": "loc_01HXYZ",
      "object": "<string>",
      "organization_id": "<string>",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Platform API key sent as Authorization: Bearer ofk_platform_.... Platform integrators also pass OpenFiskal-Organization: org_xxx to act on behalf of a merchant.

Path Parameters

organizationId
string
required

Response

List of locations

object
string
Allowed value: "list"
data
object[]