Jupiter ERP
Account API

Update File

/api/account/files/{id}

PATCHHTTP
patch/api/account/files/{id}

Beispielanfrage

PATCH https://api.jupiter-erp.com/api/account/files/example-id

Code
curl -X PATCH 'https://api.jupiter-erp.com/api/account/files/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 '{
  "folder_id": 0,
  "category": "string",
  "date": "2026-01-15",
  "reference_number": "string",
  "contact_id": 0,
  "file_name": "string"
}'

Parameter

NameInPflichtBeschreibung
idpathja

Request Body

Optional

FeldTypBeschreibung
categorystring
contact_idinteger
datestring (date)
file_namestring
folder_idinteger
notesstring
reference_numberstring
Beispiel Request
{
  "folder_id": 0,
  "category": "string",
  "date": "2026-01-15",
  "reference_number": "string",
  "contact_id": 0,
  "file_name": "string"
}

Antworten

200Updated
ModellFileItem
FeldTypBeschreibung
categorystring
contactobject
FeldTypBeschreibung
avatarobject
FeldTypBeschreibung
urlstring
namestring
contact_idinteger
created_atstring (date-time)Creation timestamp in ISO 8601 format.
created_byobject
FeldTypBeschreibung
image_urlstring
namestring
created_user_idinteger
datestring
deleted_atstring (date-time)Creation timestamp in ISO 8601 format.
file_bytesinteger
file_extstring
file_name*string
file_typestring
folderobject
FeldTypBeschreibung
name*string
pathstringFull folder path from root to the file's folder (parent segments joined with " / ").
folder_idinteger
id*integer
is_xmlboolean
newboolean
notesstring
owner_entity_idintegerID of the owner entity within the account.
owner_entity_labelstringCached display label of the linked owner entity (e.g. invoice number).
owner_entity_typestringAPI entity type of the owner (e.g. Invoice, Receipt).
protectedboolean
reference_numberstring
scanned_atstring
thumbnail_urlstring
updated_atstring (date-time)Last update timestamp in ISO 8601 format.
urlstring
Beispiel Response
{
  "id": 0,
  "category": "string",
  "date": "string",
  "reference_number": "string",
  "protected": true,
  "new": true,
  "file_name": "string"
}
Files

Fragen zur Integration?

PATCH /api/account/files/{id} · Jupiter ERP