Skip to main content

Upload Tracking File

POST 

/api/supplier-portal/shipments/bulk

Validates a CSV/XLSX (max 5 MB, 2000 rows) and returns a preview; nothing is shipped yet. Required columns: po_number, tracking_number, carrier. Optional: ship_date (Y-m-d or MM/DD/YYYY), sku (your SKU or the buyer's), quantity (needs sku). Rows with the same PO and tracking number form one shipment; rows without sku ship everything remaining.

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.

Per-row errors: PO not found (also for another supplier's PO), PO was canceled, Already fully shipped, SKU not on this PO, Quantity exceeds remaining (N left), bad or future ship date, missing tracking or carrier.

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

A leading apostrophe that the errors CSV adds in front of formula characters (=, +, -, @) is stripped when that CSV is uploaded again.

Request​

Responses​

Created

Response Headers
    Content-Type