Skip to main content

View Sales Credit Document Inline

GET 

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

Streams the document for inline display (Content-Disposition: inline) — used to preview a PDF or image without downloading it.

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