This commit is contained in:
seb
2026-09-30 19:29:13 +02:00
parent d6fe6ff1d2
commit e358eccca9
80 changed files with 1185 additions and 225 deletions

View File

@@ -14,6 +14,17 @@ Creates an address for the entity. `addressType` is required.
## Body (JSON)
| Field | Required | Type | Description |
|-------|----------|------|-------------|
| `addressType` | yes | string | |
| `firstName` | no | string | |
| `name` | no | string | |
| `street` | no | string | |
| `streetNumber` | no | string | |
| `zip` | no | string | |
| `city` | no | string | |
| `county` | no | string | |
```json
{
"addressType": "billing",

View File

@@ -15,6 +15,17 @@ Patches address fields that are present.
## Body (JSON)
| Field | Required | Type | Description |
|-------|----------|------|-------------|
| `addressType` | no | string | |
| `firstName` | no | string | |
| `name` | no | string | |
| `street` | no | string | |
| `streetNumber` | no | string | |
| `zip` | no | string | |
| `city` | no | string | |
| `county` | no | string | |
```json
{
"city": "München",

View File

@@ -14,6 +14,11 @@ Creates a contact for the entity. `contactType` and `contact` are required.
## Body (JSON)
| Field | Required | Type | Description |
|-------|----------|------|-------------|
| `contactType` | yes | string | e.g. email, phone |
| `contact` | yes | string | |
```json
{
"contactType": "email",

View File

@@ -15,6 +15,11 @@ Patches `contactType` and/or `contact`.
## Body (JSON)
| Field | Required | Type | Description |
|-------|----------|------|-------------|
| `contactType` | no | string | |
| `contact` | no | string | |
```json
{
"contact": "anna.mueller@example.com"

View File

@@ -10,6 +10,13 @@ Optional `number`: omit to allocate the next customer number (`type` entity).
## Body (JSON)
| Field | Required | Type | Description |
|-------|----------|------|-------------|
| `customergroupId` | yes | integer | |
| `name` | yes | string | |
| `firstName` | no | string | |
| `number` | no | string | Customer number; omit to auto-allocate |
```json
{
"customergroupId": 1,

View File

@@ -17,6 +17,12 @@ Writes `entityhistory` when values change.
## Body (JSON)
| Field | Required | Type | Description |
|-------|----------|------|-------------|
| `name` | no | string | |
| `firstName` | no | string | |
| `number` | no | string | |
```json
{
"name": "Müller",