Skip to main content

Download Sales Order Line Financials Export

GET 

/api/v2/financials/sales-order-lines/export/download

Downloads a completed background export produced by Export Sales Order Line Financials (queued path). The filename is the one reported in the tracked job log's results.file field.

Required scope: reports:read

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

Authentication: Requires Bearer token (Power User access required).

Response is the binary file (CSV or XLSX) with an attachment Content-Disposition header. Returns 404 if the file param is empty or the file no longer exists on the model-exports disk.

file must be a file name produced by this endpoint's export. Any other name, or a name containing a path, returns 404.

Only the user who started the export, or an account admin, can download it; anyone else gets the same 404 as a missing file.

Request​

Responses​

OK

Response Headers
    Content-Type
    Content-Disposition