Zum Hauptinhalt springen
PATCH
Update a tenant

Autorisierungen

Authorization
string
header
erforderlich

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

Pfadparameter

id
string
erforderlich

Tenant identifier

Body

The updated Tenant resource

name
string
erforderlich

The name of the tenant

Required string length: 2 - 255
Beispiel:

"ACME"

Beispiel:

"Acme Inc."

commercialRegister
string | null
erforderlich
Beispiel:

"Berlin Charlottenburg"

commercialRegisterNumber
string | null
erforderlich
Beispiel:

"HRB 123456"

vatNumber
string | null
Beispiel:

"DE123456789"

city
string
Beispiel:

"Cologne"

zip
string
Beispiel:

"50667"

street
string
Beispiel:

"Domstraße"

housenumber
string
Beispiel:

"1"

countryCode
string
Beispiel:

"DE"

website
string | null
Beispiel:

"https://acme.com"

phone
string | null
Beispiel:

"+49 123 456 789"

email
string
Beispiel:

"info@acme.de"

ceo
string | null
Beispiel:

"Max Mustermann"

iban
string

The IBAN will be displayed on the invoice

Beispiel:

"DE89370400440532013000"

appearance
object | null
documentSettings
object | null
readOnlyCustomers
boolean

If true, customers are read-only in the frontend

Antwort

Tenant resource updated

name
string
erforderlich

The name of the tenant

Required string length: 2 - 255
Beispiel:

"ACME"

Beispiel:

"Acme Inc."

commercialRegister
string | null
erforderlich
Beispiel:

"Berlin Charlottenburg"

commercialRegisterNumber
string | null
erforderlich
Beispiel:

"HRB 123456"

id
string
read-only
Beispiel:

"01F9Z3ZJXZQZJZJZJZJZJZJZJZ"

username
string
read-only
Beispiel:

"acme"

vatNumber
string | null
Beispiel:

"DE123456789"

owner
any
read-only
city
string
Beispiel:

"Cologne"

zip
string
Beispiel:

"50667"

street
string
Beispiel:

"Domstraße"

housenumber
string
Beispiel:

"1"

countryCode
string
Beispiel:

"DE"

website
string | null
Beispiel:

"https://acme.com"

phone
string | null
Beispiel:

"+49 123 456 789"

email
string
Beispiel:

"info@acme.de"

ceo
string | null
Beispiel:

"Max Mustermann"

iban
string

The IBAN will be displayed on the invoice

Beispiel:

"DE89370400440532013000"

environment
enum<string>
read-only
Verfügbare Optionen:
sandbox,
production
appearance
object | null
documentSettings
object | null
timeZone
string
Standard:Europe/Berlin
read-only
Beispiel:

"Europe/Berlin"

readOnlyCustomers
boolean

If true, customers are read-only in the frontend

createdAt
string<date-time>
read-only

The date and time when the resource was created.

Beispiel:

"2021-01-01T00:00:00+00:00"

updatedAt
string<date-time>
read-only

The date and time when the resource was last updated.

Beispiel:

"2021-01-01T00:00:00+00:00"