Skip to main content
PATCH
/
locations
/
{locationId}
Update location
curl --request PATCH \
  --url https://api.openfiskal.com/v1/locations/{locationId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-OpenFiskal-Merchant: <x-openfiskal-merchant>' \
  --data '
{
  "name": "Updated Store Name",
  "external_id": "loc-002",
  "timezone": "Europe/Vienna"
}
'
{
  "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>"
}

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.

Path Parameters

locationId
string
required

Body

application/json
name
string
Example:

"Updated Store Name"

external_id
string
Example:

"loc-002"

address
object
timezone
string
Example:

"Europe/Vienna"

Response

Location updated

id
string
required
merchant_id
string
required
name
string
required
address
object
required
created_at
string<date-time>
required
external_id
string | null
timezone
string | null