Skip to main content

Export Low Stock Items

GET 

/api/low-stock-items/export

Exports low-stock items as a downloadable CSV or XLSX file.

Filename pattern: low-stock-items-{Y-m-d_His}.{ext}

Supports the same filters as GET /api/low-stock-items (search, severity, brand_id, warehouse_id, archived_status). The columns query parameter accepts a comma-separated list of columns to include in the export — defaults to all available columns.

Response Content-Type:

  • CSV → text/csv
  • XLSX → application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Authentication: Requires Bearer token.

Request

Responses

Successful response