Skip to main content

Download Vendor Credit Attachment

GET 

/api/vendor-credits/:vendorCredit/attachments/:attachment/download

Stream the attachment file as a download (Content-Disposition: attachment). The response is the binary file content with the original file name and MIME type — not JSON. Returns 404 if the attachment does not belong to the vendor credit or the file is missing from storage.

Required scope: accounting:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Request

Responses

Successful response