Skip to main content

Upload delivery documents

POST 

/company/delivery/documents/:service_code

Upload new documents to a shipment, saving them to S3.

Objective

Allow companies to attach additional documentation to their shipments to complement the transportation information.

Use Cases

  • Attach invoices or delivery notes to the shipment
  • Upload photos of the cargo before transport
  • Add customs documents or certificates
  • Share relevant documentation with the carrier

Notes

  • Accepts up to 4 files per request (multipart/form-data)
  • Files are saved to S3 under the file key
  • Each document is registered with owner_company (user ID)
  • Returns the complete delivery with the updated documents array
  • Applicable for both the company and the carrier

Request

Responses

Documents uploaded successfully