PUT
/
customers
/
{id}

Authorizations

Authorization
string
headerrequired

Value for the Authorization header parameter.

Path Parameters

id
string
required

Customer identifier

Body

currencyCode
string | null
required

Can be empty. In this case the default currency of the tenant is used.

countryCode
string | null
default: DErequired
timeZone
string | null
default: Europe/Berlinrequired

The timezone of the customer. This is used for the communication with the customer or on generating documents like invoices, reminders, etc.

firstName
string | null
required

Can be empty if the customer is a company.

lastName
string | null
required

Can be empty if the customer is a company.

language
enum<string>
default: derequired

The language of the customer. This is used for the communication with the customer or on generating documents like invoices, reminders, etc.

Available options:
de,
en
datevId
string | null
required

The ID of the customer in DATEV. If not provided, we will generate a datev id, when the "accounting.useDebitorAccounts" setting is set to true.

gender
enum<string> | null
required

This field is needed, to fullfill a collection process on a personal customer.

Available options:
male,
female,
diverse
vatId
string | null
required
companyName
string | null
required
commercialRegisterName
string | null
required

The name of the commercial register. This is needed tofullfill the collection processes on companies.

commercialRegisterNumber
string | null
required

The ID of the customer in the commercial register, e.g. HRB 123456. This is needed tofullfill the collection processes on companies.

phone
string | null
required
customerNumber
string | null
required

Can be empty. In this case the customer number is generated automatically.

Response

200 - application/json
id
string
customerNumber
string
timeZone
string
default: Europe/Berlin

IANA time zone

firstName
string | null

Can be empty if the customer is a company.

lastName
string | null

Can be empty if the customer is a company.

currencyCode
string

Can be empty. In this case the default currency of the tenant is used.

countryCode
string
required
companyName
string | null
vatId
string | null
isVatIdValid
boolean

Indicates if the VAT ID is valid. This is only available for EU VAT IDs. We validate the VAT IDs each night and directly after change.

datevId
string | null

The ID of the customer in DATEV

commercialRegisterName
string | null

The name of the commercial register. This is needed tofullfill the collection processes on companies.

commercialRegisterNumber
string | null

The ID of the customer in the commercial register, e.g. HRB 123456. This is needed tofullfill the collection processes on companies.

status
enum<string>
default: STATUS_ACTIVE
Available options:
STATUS_ACTIVE,
STATUS_ARCHIVED,
STATUS_SUSPENDED
gender
enum<string> | null

This field is needed, to fullfill a collection process on a personal customer.

Available options:
male,
female,
diverse
phone
string | null
language
enum<string>
default: de

The language of the customer. This is used for the communication with the customer or on generating documents like invoices, reminders, etc.

Available options:
de,
en
totalTurnOverRank
integer | null

The current customer rank, based on their revenue. Lower is better. This will calculate each night.

createdAt
string
emailAddresses
object[]
addresses
object[]
businessCustomer
boolean
defaultAddress
object

The default address of the customer. This is the address that is used for billing if no other address is specified.

defaultInvoiceAddress
object

The invoice address of the customer. This is the address that is used for billing if defined. If not defined, the default address is used.

defaultEmailAddress
object

The default email address of the customer. This is the email address that is used for billing if no other email address is specified.

defaultInvoiceEmailAddress
object

The invoice email address of the customer. This is the email address that is used for billing if defined. If not defined, the default email address is used.

defaultPaymentMethod
object

The default payment method of the customer. This is the payment method that is used for billing.