Beispielanfrage
PATCH https://api.jupiter-erp.com/api/account/contact-fields/example-id
Code
curl -X PATCH 'https://api.jupiter-erp.com/api/account/contact-fields/example-id' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'X-Account-Uuid: YOUR_ACCOUNT_UUID' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"key": "string",
"name": "string",
"description": "string",
"type": "string",
"select_values": [
"string"
],
"default_value": null
}'Parameter
| Name | In | Pflicht | Beschreibung |
|---|---|---|---|
| id | path | ja | — |
Request Body
Optional
| Feld | Typ | Beschreibung |
|---|---|---|
| default_value | object | default value |
| description | string | — |
| key | string | — |
| name | string | — |
| ordering | integer | — |
| select_values | string[] | array Elemente string |
| type | string | — |
Beispiel Request
{
"key": "string",
"name": "string",
"description": "string",
"type": "string",
"select_values": [
"string"
],
"default_value": null
}Antworten
200OK
ModellContactField
| Feld | Typ | Beschreibung |
|---|---|---|
| created_at | string (date-time) | Creation timestamp in ISO 8601 format. |
| default_value | object | default value |
| description | string | — |
| id* | integer | — |
| key* | string | — |
| name* | string | — |
| ordering | integer | — |
| select_values | string[] | array Elemente string |
| type* | string | — |
| updated_at | string (date-time) | Last update timestamp in ISO 8601 format. |
Beispiel Response
{
"id": 0,
"key": "string",
"name": "string",
"description": "string",
"type": "string",
"select_values": [
"string"
]
}ContactFields