Skip to main content

Stream Price List Document File

GET 

/api/suppliers/:supplier/price-list/documents/:document/file

Streams the stored file inline with its own content type (e.g. application/pdf), suitable for in-browser preview or download. The response is the file itself, not JSON.

Required scope: suppliers:read

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

Returns 404 when the stored file is missing or the document is not a price list document of this supplier.

Authentication: Requires Bearer token.

Requires scope: suppliers:read

Request

Responses

OK

Response Headers
    Content-Type
    Content-Disposition
    X-Content-Type-Options