Lexware Office icon

Lexware Office

Interact with the full Lexware Office (lexoffice) API

Actions48

Contact → Update

AI-generated

Summary

Update an existing contact record in Lexware Office via a PUT request. Automatically handles optimistic locking by fetching the current record version if autoVersion is enabled and version is omitted from the JSON payload.

Inputs

  • ID (required) — The unique ID of the contact record to update.
  • Data (JSON) — JSON payload representing the full Lexware Office contact request body.
  • Auto Version — When set to true, automatically fetches the existing contact version before updating if the version property is missing from Data (JSON).

Output shape

a single record

Returns the updated contact object returned by Lexware Office.

Examples

Example 1: Update contact company name using automatic version fetching

ID: "0a2185b1-1234-4bc1-9abc-123456789def", Data (JSON): {"roles": {"customer": {}}, "company": {"name": "Acme Corp GmbH"}}, Auto Version: true

Example 2: Update contact with an explicit version

ID: "0a2185b1-1234-4bc1-9abc-123456789def", Data (JSON): {"version": 2, "roles": {"customer": {}}, "company": {"name": "Acme Corp GmbH"}}, Auto Version: false

Links

Discussion