---
title: "Update an existing accounting contact"
method: PUT
path: "/AccountingContact/{accountingContactId}"
tags: ["AccountingContact"]
---

# Update an existing accounting contact

`PUT /AccountingContact/{accountingContactId}`

Attention, updating an existing AccountingContact can lead to **booking errors**, especially in the **DATEV export**.
Compatibility of sevdesk with DATEV is no longer guaranteed.

## Path parameters

- `accountingContactId` integer, required

## Request body

- ModelAccountingContactUpdate — Accounting contact model
  - `contact` object, nullable — The contact to which this accounting contact belongs.
    - `id` integer, required — Unique identifier of the contact
    - `objectName` string, required — Model name, which is 'Contact'
  - `debitorNumber` integer, nullable — Debitor number of the accounting contact.
  - `creditorNumber` integer, nullable — Creditor number of the accounting contact.

## Response `200`

Successful operation - Returns changed accounting contact resource

- ModelAccountingContactResponse — Accounting contact model
  - `id` string — The accounting contact id
  - `objectName` string — The accounting contact object name
  - `create` string, date-time — Date of accounting contact creation
  - `update` string, date-time — Date of last accounting contact update
  - `contact` object — The contact to which this accounting contact belongs.
    - `id` string, required — Unique identifier of the contact
    - `objectName` string, required — Model name, which is 'Contact'
  - `sevClient` object — Client to which accounting contact belongs. Will be filled automatically
    - `id` string, required — Unique identifier of the client
    - `objectName` string, required — Model name, which is 'SevClient'
  - `debitorNumber` string — Debitor number of the accounting contact.
  - `creditorNumber` string — Creditor number of the accounting contact.

## Other responses

- `400` — Bad request
- `401` — Authentication required
- `500` — Server Error

---

[API](https://skmtc.net/sevdesk/apis/sevdesk-api.md) · [All operations](https://skmtc.net/sevdesk/apis/sevdesk-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sevdesk/sevdesk-api/revisions/a32cec0fecea/schema)
