Skip to main content

Download Comment Attachment

GET 

/api/supplier-portal/purchase-orders/:purchaseOrder/comments/attachments/:attachment

Download a file attached to a comment on this purchase order (streamed with its original filename). 404 when the attachment is not on this purchase order.

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 purchase order of another supplier returns 404.

Request​

Responses​

Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.