Skip to main content

Upload Shipment Documents

POST 

/api/supplier-portal/shipments/:shipment/documents

Adds up to 5 documents to the shipment. multipart/form-data: documents[i][file] (PDF, PNG, JPG, Word, Excel or CSV, 10 MB each) and documents[i][document_type] (packing_list, commercial_invoice, bill_of_lading, certificate, other), optional documents[i][description] (255 characters). A shipment holds up to 50 documents per supplier; a canceled shipment takes none. The buyer is alerted. Throttled 30/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 shipment or file of another supplier, and any file the buyer added, returns 404.

Request​

Responses​

Created

Response Headers
    Content-Type