Skip to main content
PATCH
Update customer

Authorizations

x-API-Key
string
header
required

Path Parameters

id
string<objectid>
required

Customer ID

Body

application/json

Customer data to update

Customer entity representing a client company or individual who receives services

number
integer
required

Customer number (auto-generated if not provided)

Example:

1001

name
string
required

Customer name or company name

Example:

"ABC Cleaning Services GmbH"

_id
string<objectid>

Unique identifier for the customer

companyId
string<objectid>

The ID of the company this entity belongs to

status
object

Entity Status information

chatId
string<objectid> | null

Chat session ID for customer communications

contactPerson
string

Main contact person name

Example:

"John Doe"

address
object

Address

contact
object

Contact information structure containing phone numbers, email, SMS details, and website

contract
object

Contract information and terms

invoiceRecipientId
string<objectid> | null

User ID who should receive invoices

invoiceCCRecipientIds
string<objectid>[]

User IDs who should receive invoice copies

hideRecipientOnDocuments
boolean
default:false

Whether to hide recipient information on documents

buyerReference
string | null

XRechnung Leitweg-ID for electronic invoicing

Example:

"04011000-1234512345-12"

orderReferenceId
string | null

XRechnung supplier number (Lieferantennummer)

Example:

"SUP-12345"

vatNumber
string | null

Customer VAT number

Example:

"DE123456789"

debitorNumber
string | null

Custom debitor number (overwrites customer number for accounting)

Example:

"DEB-001"

paymentTermId
string<objectid> | null

Payment term ID that overwrites company default for invoices

Response

Customer updated successfully

Customer entity representing a client company or individual who receives services

number
integer
required

Customer number (auto-generated if not provided)

Example:

1001

name
string
required

Customer name or company name

Example:

"ABC Cleaning Services GmbH"

_id
string<objectid>

Unique identifier for the customer

companyId
string<objectid>

The ID of the company this entity belongs to

status
object

Entity Status information

chatId
string<objectid> | null

Chat session ID for customer communications

contactPerson
string

Main contact person name

Example:

"John Doe"

address
object

Address

contact
object

Contact information structure containing phone numbers, email, SMS details, and website

contract
object

Contract information and terms

invoiceRecipientId
string<objectid> | null

User ID who should receive invoices

invoiceCCRecipientIds
string<objectid>[]

User IDs who should receive invoice copies

hideRecipientOnDocuments
boolean
default:false

Whether to hide recipient information on documents

buyerReference
string | null

XRechnung Leitweg-ID for electronic invoicing

Example:

"04011000-1234512345-12"

orderReferenceId
string | null

XRechnung supplier number (Lieferantennummer)

Example:

"SUP-12345"

vatNumber
string | null

Customer VAT number

Example:

"DE123456789"

debitorNumber
string | null

Custom debitor number (overwrites customer number for accounting)

Example:

"DEB-001"

paymentTermId
string<objectid> | null

Payment term ID that overwrites company default for invoices