v2

latestSwagger 2.02026-08-0187117271.9 KB
Customers

Updates a customer by id

put/api/v1/customers/{id}

Path parameters

idinteger required

The id of the customer

Request body

Idinteger

The Billbee Id of the customer

Namestring
Emailstring
Tel1string
Tel2string
Numberinteger
PriceGroupIdinteger
LanguageIdinteger
VatIdstring

The vat-id, that should be saved at the customer. Only used if CustomerVatId is not set on the order.

Typeinteger

Customer Type

ArchivedAtstring date-time

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

RestoredAtstring date-time

If set, the customer 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