Zum Hauptinhalt springen
PATCH
/
tenants
/
{id}
Error
A valid request URL is required to generate request examples
{
  "name": "ACME",
  "legalCompanyName": "Acme Inc.",
  "commercialRegister": "Berlin Charlottenburg",
  "commercialRegisterNumber": "HRB 123456",
  "id": "01F9Z3ZJXZQZJZJZJZJZJZJZJZ",
  "username": "acme",
  "vatNumber": "DE123456789",
  "owner": "<unknown>",
  "city": "Cologne",
  "zip": "50667",
  "street": "Domstraße",
  "housenumber": "1",
  "countryCode": "DE",
  "website": "https://acme.com",
  "phone": "+49 123 456 789",
  "email": "[email protected]",
  "ceo": "Max Mustermann",
  "iban": "DE89370400440532013000",
  "environment": "sandbox",
  "appearance": {
    "primaryColor": "#000000",
    "id": "ad8f1c2c-3b1c-4b0a-8b0a-0b0b0b0b0b0b",
    "logoUrl": "https://example.com/logo.png",
    "secondaryColor": "#000000",
    "privacyUrl": "https://example.com/privacy",
    "conditionsUrl": "https://example.com/terms-and-conditions",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "documentSettings": {
    "logoPosition": "left",
    "id": "<string>",
    "footer": {
      "translations": {},
      "id": "<string>"
    }
  },
  "timeZone": "Europe/Berlin",
  "readOnlyCustomers": true,
  "createdAt": "2021-01-01T00:00:00+00:00",
  "updatedAt": "2021-01-01T00:00:00+00:00"
}

Autorisierungen

Authorization
string
header
erforderlich

Value for the Authorization header parameter.

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
ceo
string | null
Beispiel:

"Max Mustermann"

iban
string

The IBAN will be displayed on the invoice

Beispiel:

"DE89370400440532013000"

appearance
object
documentSettings
object
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
Beispiel:

"01F9Z3ZJXZQZJZJZJZJZJZJZJZ"

username
string
Beispiel:

"acme"

vatNumber
string | null
Beispiel:

"DE123456789"

owner
any
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
ceo
string | null
Beispiel:

"Max Mustermann"

iban
string

The IBAN will be displayed on the invoice

Beispiel:

"DE89370400440532013000"

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

"Europe/Berlin"

readOnlyCustomers
boolean

If true, customers are read-only in the frontend

createdAt
string<date-time>

The date and time when the resource was created.

Beispiel:

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

updatedAt
string<date-time>

The date and time when the resource was last updated.

Beispiel:

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