cURL
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" } ] }
Platform API key sent as Authorization: Bearer ofk_platform_.... Platform integrators also pass OpenFiskal-Organization: org_xxx to act on behalf of a merchant.
Authorization: Bearer ofk_platform_...
OpenFiskal-Organization: org_xxx
List of locations
"list"
Show child attributes