u
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user