v2

latestSwagger 2.02026-08-0187117271.9 KB
CustomerAddresses

Updates a customer address by id

put/api/v1/customer-addresses/{id}

Path parameters

idinteger required

The id of the address

Request body

Idinteger

The internal Billbee ID of the address record. Can be null if a new address is created

AddressType1 | 2

The type of the address

CustomerIdinteger

The internal Billbee id of the customer the address belongs to

Companystring

The name of the company

FirstNamestring
LastNamestring
Name2string

Optionally an additional name field

Streetstring
Housenumberstring
Zipstring
Citystring
Statestring
CountryCodestring

The ISO2 code of the country

Emailstring
Tel1string
Tel2string
Faxstring
AddressAdditionstring
ArchivedAtstring date-time

If set, the customeraddress was already archived at the given date. Further modification is disabled.

RestoredAtstring date-time

If set, the customeraddress was restored from the archive at the given date.

Response

OK

ErrorMessagestring
ErrorCode0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31
ErrorDescription0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31