Export Inventory Movements
GET/api/v2/inventory-movements/list/export
Exports inventory movements as an XLSX or CSV file download. Reuses the same Spatie QueryBuilder filters and sorts as the List Inventory Movements endpoint when scope=filtered.
Scopes:
- all: ignore active filters/sort and export every record
- filtered (default): apply the current filter/sort/search query params
- current_page: export the rows on the current page (matches the visible table)
- selected: export only the IDs supplied via the ids query param
The response is a binary file (xlsx or csv); Content-Type is application/vnd.openxmlformats-officedocument.spreadsheetml.sheet or text/csv. Authentication: Requires Bearer token.
Request
Responses
- 200
Successful response