Skip to main content
GET
/
locations
List locations
curl --request GET \
  --url https://api.openfiskal.com/v1/locations \
  --header 'Authorization: Bearer <token>' \
  --header 'X-OpenFiskal-Merchant: <x-openfiskal-merchant>'
{
  "data": [
    {
      "id": "<string>",
      "merchant_id": "<string>",
      "name": "<string>",
      "address": {
        "line1": "<string>",
        "city": "<string>",
        "postal_code": "<string>",
        "country_code": "DEU",
        "line2": "<string>"
      },
      "created_at": "2023-11-07T05:31:56Z",
      "external_id": "<string>",
      "timezone": "<string>"
    }
  ],
  "next_cursor": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://dev.openfiskal.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-OpenFiskal-Merchant
string
required

Merchant identifier returned by the merchants resource.

Response

Locations returned

data
object[]
required
next_cursor
string | null