Customers

Upload a document

Attaches a file to the customer — the one multipart write on this API (Content-Type: multipart/form-data). Storage layout matches the web upload, so documents from either surface are identical. Max 25MB.

post/v1/customers/{id}/documents

Request

  • Base URL: https://api.officina.it
  • URL: https://api.officina.it/v1/customers/{id}/documents
  • Auth: HTTP bearer

Response

The stored document (url = its download route).

object'customer_document' required
idstring required
namestring required
content_typestring required
descriptionstring nullable
urlstring required
file_size_bytesinteger required
created_atstring date-time required

Example response

{
  "url": "/v1/customers/0b6b…/documents/77c2…/download"
}

Changes

No recorded changes to this operation across all 1 revision of this API.