Jupiter ERP
Account API

Update Media Files

/api/account/media-files/{id}

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

Beispielanfrage

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

Code
curl -X PATCH 'https://api.jupiter-erp.com/api/account/media-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 '{
  "description": "string"
}'

Parameter

NameInPflichtBeschreibung
idpathja

Request Body

Optional

FeldTypBeschreibung
descriptionstring
Beispiel Request
{
  "description": "string"
}

Antworten

200Ok
ModellMediaFile
FeldTypBeschreibung
created_atstring (date-time)Creation timestamp in ISO 8601 format.
descriptionstring
entityobject
FeldTypBeschreibung
idinteger
namestring
entity_idinteger
entity_typestring

string

  • Account
  • Contact
  • PrintLayout
  • PrintBackground
  • ServiceProtocol
  • ServiceObject
  • ServiceOrder
file_bytesnumber
file_extstringFile extension (e.g., 'jpg', 'png', 'pdf'). Note: PDFs are converted to 'jpg' upon upload.
file_typestringMIME type (e.g., 'image/jpeg', 'image/png', 'application/pdf'). Note: PDFs are converted to 'image/jpeg' upon upload.
id*integer
is_publicboolean
keystring
updated_atstring (date-time)Last update timestamp in ISO 8601 format.
url*string
userobject
FeldTypBeschreibung
image_urlstring
namestring
user_idinteger
Beispiel Response
{
  "id": 0,
  "user_id": 0,
  "entity_type": "Account",
  "entity_id": 0,
  "key": "string",
  "is_public": true,
  "url": "string"
}
MediaFiles

Fragen zur Integration?

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