Skip to main content

Download Sales Credit Document

GET 

/api/sales-credits/:salesCredit/attachments/:attachment/download

Streams the document back as a file download (Content-Disposition: attachment).

Required scope: orders:read

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

Authentication: Requires Bearer token.

The response is the raw file, not JSON. Returns 404 if the document does not belong to the given credit.

Request

Responses

Successful response