Jupiter ERP
Account API

Update File

/api/account/files/{id}

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

Example request

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"
}'

Parameters

NameInRequiredDescription
idpathyes

Request body

Optional

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

Responses

200Updated
FieldTypeDescription
categorystring
contactobject
FieldTypeDescription
avatarobject
FieldTypeDescription
urlstring
namestring
contact_idinteger
created_atstring (date-time)Creation timestamp in ISO 8601 format.
created_byobject
FieldTypeDescription
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
FieldTypeDescription
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
Example response
{
  "id": 0,
  "category": "string",
  "date": "string",
  "reference_number": "string",
  "protected": true,
  "new": true,
  "file_name": "string"
}
Files

Questions about integration?

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