Beispielanfrage
PATCH https://api.jupiter-erp.com/api/account/print-backgrounds/example-id
Code
curl -X PATCH 'https://api.jupiter-erp.com/api/account/print-backgrounds/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 '{
"name": "string",
"is_default": true,
"is_default_custom_document": true,
"is_default_quote": true,
"is_default_order_confirmation": true,
"is_default_delivery_note": true
}'Parameter
| Name | In | Pflicht | Beschreibung |
|---|---|---|---|
| id | path | ja | — |
Request Body
Optional
| Feld | Typ | Beschreibung |
|---|---|---|
| is_default | boolean | — |
| is_default_credit_note | boolean | — |
| is_default_custom_document | boolean | — |
| is_default_delivery_note | boolean | — |
| is_default_dunning | boolean | — |
| is_default_invoice | boolean | — |
| is_default_order_confirmation | boolean | — |
| is_default_quote | boolean | — |
| name | string | — |
Beispiel Request
{
"name": "string",
"is_default": true,
"is_default_custom_document": true,
"is_default_quote": true,
"is_default_order_confirmation": true,
"is_default_delivery_note": true
}Antworten
200OK
ModellPrintBackground
| Feld | Typ | Beschreibung | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| created_at | string (date-time) | Creation timestamp in ISO 8601 format. | |||||||||
| id* | integer | — | |||||||||
| is_default | boolean | — | |||||||||
| is_default_credit_note | boolean | — | |||||||||
| is_default_custom_document | boolean | — | |||||||||
| is_default_delivery_note | boolean | — | |||||||||
| is_default_dunning | boolean | — | |||||||||
| is_default_invoice | boolean | — | |||||||||
| is_default_order_confirmation | boolean | — | |||||||||
| is_default_quote | boolean | — | |||||||||
| mediaFile | object |
| |||||||||
| name* | string | — | |||||||||
| updated_at | string (date-time) | Last update timestamp in ISO 8601 format. |
Beispiel Response
{
"id": 0,
"name": "string",
"is_default": true,
"is_default_custom_document": true,
"is_default_quote": true,
"is_default_order_confirmation": true
}PrintBackgrounds