Skip to main content

Export Product Inventory Movements

GET 

/api/v2/products/:product/inventory-movements/export

Exports a product's inventory movements as an XLSX or CSV file. Supports the same filters, search, and sort as the movements list, plus column selection via the columns parameter.

Required scope: products:read

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

Columns include: ID, Date, Type, Status, Quantity, Unit Cost, Layer Cost Now, Warehouse, FIFO Layer ID, Source, Reference, Link Type, Link ID, Created.

Unit Cost is the cost the movement was recorded at (what its cost-of-goods journal booked); Layer Cost Now is the FIFO layer's current per-unit cost. Layer Cost Now is always exported alongside Unit Cost when columns includes unit_cost.

Authentication: Requires Bearer token.

Response: File download (binary), not JSON.

Requires permission: inventory.export

Request​

Responses​

OK