Upload a supporting document
Uploads or replaces a supporting document for a specific BOP requirement slot on an order.
Idempotent — re-uploading replaces the previous file and resets the document status to uploaded.
Max file size: 50 MB. Allowed MIME types: image/png, image/jpeg, application/pdf, text/csv (.csv files only).
Authentication
AuthorizationBearer
Token obtained via the login flow.
Path parameters
orderId
docId
Request
This endpoint expects a multipart form containing a file.
file
The file to upload (PNG, JPEG, PDF, or CSV; max 50 MB).
Response
Document uploaded successfully.
id
orderId
label
Human-readable document label from the BOP document requirement.
required
Whether this document is mandatory for this BOP category.
status
Current upload and review status of this document slot.
Allowed values:
originalFilename
contentType
fileSizeBytes
uploadedAt
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error