Docs
Issue Public Order Upload
POST /Orders/public/{token}/files
POST
/Orders/public/{token}/filesIssues a create-only upload URL for one quote or invoice file (PDF, PNG or JPEG, at most 25 MB) against the revision the public page showed, valid for 15 minutes. PUT the bytes to uploadUrl, then call Orders_CreatePublicOrderDocument with the uploadId. Needs no sign-in. Refused on an internal order, a stale revision (the page reloads), after a quote is chosen (quotes) or an invoice is paid (invoices), and at 10 files waiting for review.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| token | string | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| versionId | uuid | Optional | |
| versionNumber | integer | Optional | |
| fileName | string | Optional | |
| contentType | string | Optional | |
| fileSize | integer | Optional | |
| documentType | string | Optional |
Response
| Field | Type | Description |
|---|---|---|
| uploadId | uuid | |
| uploadUrl | string| null | |
| expiresAt | date-time |