Upload files
This endpoint lets you attach files like PDFs or images, directly to specific deliveries, using multipart form data. You can upload fiscal documents or proof of deliveries for shipment management.
Endpoint
Request
Supported Media Types
multipart/form-data
Headers
Property | Type | Description | Example value |
---|---|---|---|
Content-Type | string | "multipart/form-data" | |
Authorization | string | Company basic auth | "Basic XXXXXXXXXXXXXXXXXXXXXXXX" |
Url Parameters
Property | Type | Description | Required | Constraints |
---|---|---|---|---|
deliveryId | string | Id of the task created within the system. | YES |
Form Parameters
Property | Type | Description | Required |
---|---|---|---|
files | file | File to upload. | YES |
type | string |
| YES |
The supported file extensions are pdf, jpeg, jpg, png, txt
.
Response
Property | Type | Description |
---|---|---|
code | string | Result code. |
message | string | Result description. |