Skip to main content

Stream Vendor Credit Extraction PDF

GET 

/api/vendor-credits/ocr/:extraction/pdf

Stream the original credit memo PDF through the backend (avoids CORS issues with direct storage URLs). The response is binary PDF content (Content-Type: application/pdf, Content-Disposition: inline) — not JSON. Returns 404 if the file is no longer available in storage.

Required scope: orders:read

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

Request

Responses

Successful response