POST
/
customers
/
{customerId}
/
addresses

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Path Parameters

customerId
string
required

CustomerAddress identifier

Body

addition
string | null

Additional address line of the customer. If not provided, we will use empty string.

Maximum length: 255
city
string | null

The city of the customer. If not provided, we will use empty string.

Required string length: 2 - 255
companyName
string | null
Maximum length: 255
costCentre
string | null

The cost centre of the customer. If not provided, we will use empty string.

Required string length: 2 - 255
countryCode
string | null

If not provided, we will use the customer country code.

firstName
string | null

Can be empty if the customer is a company.

Maximum length: 255
houseNumber
string | null

The house number of the customer. If not provided, we will use empty string.

Maximum length: 255
lastName
string | null

Can be empty if the customer is a company.

Maximum length: 255
salutation
enum<string>
Available options:
Firma,
Herr,
Frau
street
string | null

The street of the customer. If not provided, we will use empty string.

Required string length: 2 - 255
type
enum<string>
Available options:
TYPE_DEFAULT,
TYPE_INVOICE
vatId
string | null

If not provided, we will use the customer vat id.

Required string length: 2 - 255
zip
string | null

The zip code of the customer. If not provided, we will use empty string.

Response

201 - application/json
addition
string | null

Additional address information, which will be shown on generated documents like invoices, reminders, etc.

city
string
companyName
string | null

Company name, which will be used to bill to.

costCentre
string | null

Cost centre, which will be shown on generated documents like invoices, reminders, etc.

countryCode
string
default
boolean
firstName
string | null

First name, which will be shown on generated documents like invoices, reminders, etc.

houseNumber
string
id
string
lastName
string | null

Last name, which will be shown on generated documents like invoices, reminders, etc.

salutation
enum<string>
Available options:
Firma,
Herr,
Frau
status
enum<string>
Available options:
active,
archived
street
string
type
enum<string>
Available options:
TYPE_DEFAULT,
TYPE_INVOICE
vatId
string | null

VAT ID, which will be used to bill to. If not provided, we will use the customer vat id.

zip
string