Skip to main content

Upload Document

POST 

/api/supplier-portal/documents

Upload a document for the buyer to review. multipart/form-data: file (PDF, PNG or JPG, ≤10 MB), document_type (one of document_types), optional issued_at / expires_at (YYYY-MM-DD) and description (≤255). Throttled 20/min.

Buyer portal token

Called by a B2B portal buyer with the bearer token POST /api/portal/auth/login returns (or the buyer's feed key) — not with a staff Personal Access Token.

Authentication: supplier-portal bearer token. Every lookup is scoped to the signed-in user's supplier; a record of another supplier returns 404.

Request​

Responses​

Created

Response Headers
    Content-Type