Adjustments & Transfers
List Inventory Adjustments
List all inventory adjustments with DataTable support. Supports filtering, sorting, search and pagination.
Create Inventory Adjustment
Create a new inventory adjustment. Supports increase, decrease, and set adjustment types.
Bulk Delete Inventory Adjustments
Bulk delete multiple inventory adjustments by ID, or delete all matching current filters.
Get Inventory Adjustment
Retrieve a single inventory adjustment by ID. Loads fifoLayers and required DataTable relations.
Update Inventory Adjustment
Update an existing inventory adjustment.
Delete Inventory Adjustment
Delete an inventory adjustment. Reverses the inventory movement. Will fail if doing so would result in negative fulfilled quantities.
Bulk Archive Inventory Adjustments
Bulk archive multiple inventory adjustments.
Bulk Unarchive Inventory Adjustments
Bulk unarchive multiple inventory adjustments.
Archive Inventory Adjustment
Archive a single inventory adjustment.
Unarchive Inventory Adjustment
Unarchive a single inventory adjustment.
Check Deletable
Check which inventory adjustments can be deleted. Returns a deletability status for each requested ID.
Get Activity Log
Get paginated activity log for a specific inventory adjustment. Includes who made the change and what changed.
List Allocations
Returns a paginated list of inventory allocations.
Get Allocation
Returns a single inventory allocation by ID.
Reorder Allocation
Reorders an allocation relative to another.
Reassign Coverage
Manually (re)assigns a single allocation's PO-line coverage. Binding a PO line transitions the allocation to `AwaitingReceipt` and pins it as tight coverage (so a later automatic rebalance won't move it).
List Backorders
Returns a paginated backorder queue showing allocations that are awaiting stock.
Export Backorders
Downloads the backorder queue as an XLSX or CSV file.
Get Summary
Returns summary statistics for inventory allocations — total counts by status, total quantities, coverage metrics.
Get Breakdown
Returns a breakdown of allocations grouped by relevant dimensions (warehouse, supplier, status) for dashboard widgets.
Product Analysis
Returns allocation analysis for a specific product — current allocations, coverage status, and demand history.
Supplier Analysis
Returns allocation analysis for a specific supplier — coverage metrics, pending PO quantities, backorder exposure.
Coverage Options
Lists the open PO lines a product's allocation can be manually covered by — used to populate the 'Change PO Coverage' picker.
List Suppliers
Returns a list of suppliers that have active inventory allocations — used to populate supplier filter dropdowns.
Search Suppliers
Searches suppliers by name for autocomplete dropdowns. Returns suppliers that match the query string.
Export Allocations
Downloads an export of inventory allocations.
Sync Coverages
Dispatches a background job to sync allocation coverages. Returns a `tracked_job_log_id` for monitoring progress in the job tray.
Rebalance Coverages
Dispatches a background job that rebalances allocation coverages — it tears down every non-tight `AwaitingReceipt` coverage and rebuilds it from scratch using the current resolved PO ETAs (inbound-shipment expected arrival, falling back to the PO header's estimated delivery date).
Release Allocations
Dispatches a background job to release eligible allocations to fulfillment. Returns a `tracked_job_log_id` for monitoring progress in the job tray.
Reset Priorities
Dispatches a background job to reset allocation priorities using the specified method.
Evaluate Releases
Dispatches a background job to evaluate which allocations are ready for release.
Compact Priorities
Dispatches a background job to compact allocation priority numbers — fills in gaps from deleted/cancelled allocations so priorities are sequential. Returns a `tracked_job_log_id`.
Check Release Availability
Checks whether the specified allocations have sufficient stock to be released. Returns availability status per allocation.
Release Selected
Immediately releases the specified allocations to fulfillment.
Submit Fulfillments
Submits fulfillments for the specified released allocations.
Delete Fulfillments
Deletes pending fulfillments for the specified allocations, reverting them to released status.
Unreserve
Cancels (unreserves) the specified allocations.
Switch Supplier Options
Returns the per-allocation supplier picker payload used by the Allocation Pipeline Change Supplier dialog. Only allocations in `planned` or `awaiting_receipt` status are eligible. For each eligible allocation, returns the list of suppliers configured for that product (via `supplier_products`), excluding archived suppliers.
Switch Suppliers
Bulk updates the supplier on one or more inventory allocations. Each assignment is validated against `supplier_products` so the chosen supplier must already be configured for the allocation's product. Allocations not in `planned` or `awaiting_receipt` status are skipped.
List Warehouse Transfers
Returns a paginated list of warehouse transfers.
Get Warehouse Transfer
Returns the full detail view of a warehouse transfer.
Get Filter Options
Returns filter dropdown options for the warehouse transfers list — primarily a list of warehouses for the from/to warehouse filter selectors.
Get Tab Counts
Returns badge counts for all detail page tabs in a single request — line items, shipments, receipts, inventory movements, FIFO layers, allocations, activity log. Used to populate tab badges without loading each tab's full data.
Browse Products
Searches products that can be added to this warehouse transfer. Scoped to the transfer's `from_warehouse`.
Get Line Items
Returns the line items for a warehouse transfer, including product details, quantities, shipped/received quantities, and COGS values.
Get Inventory Movements
Returns paginated inventory movements generated by this warehouse transfer (both ship-out and receive-in movements).
Get FIFO Layers
Returns FIFO inventory layers originating from this warehouse transfer.
Get Allocations
Returns inventory allocations linked to this warehouse transfer.
Generate Accounting Transactions
Generates or regenerates accounting transactions (financial lines) for this warehouse transfer based on the current COGS data.
Create Receiving Discrepancy
Creates a receiving-discrepancy accounting transaction for a warehouse transfer, recording the financial gain/loss from the difference between expected and received quantities.
Get Activity Log
Returns paginated activity log entries for a warehouse transfer.
Download Lines Import Template
Downloads a multi-sheet XLSX template for the warehouse transfer lines bulk import.
Download Lines Import Template
Downloads a multi-sheet XLSX template for the warehouse transfer lines bulk import.
Get Shipment Detail
Returns the detail view of a specific warehouse transfer shipment, including shipment lines and any associated receipts.
Preview Shipment Line Quantity Change
Preview the inventory implications of changing a warehouse transfer shipment line's quantity, without persisting any change.
Update Shipment Line Quantity
Update a warehouse transfer shipment line's quantity in place, scaling its inventory movements at the source (active negative) and destination (in-transit positive) accordingly.
Get Shipment Activity Log
Returns paginated activity log entries for a specific shipment.
Get Shipment Inventory Movements
Returns paginated inventory movements scoped to the given warehouse transfer shipment. Movements are linked to the shipment's `WarehouseTransferShipmentLine` records (negative inventory events — stock leaving the source warehouse). Includes movement type, quantity, FIFO layer link, unit/total cost, and product/warehouse references for each movement. Used by the Movements tab on the shipment detail page.
Get Receipt Detail
Returns the detail view of a specific warehouse transfer receipt, including receipt lines. Automatically detects lines that generated blemished inventory adjustments.
Preview Receipt Line Quantity Change
Preview the implications of changing a warehouse transfer receipt line quantity without persisting any changes.
Update Receipt Line Quantity
Update a warehouse transfer receipt line's quantity. The shipment line and warehouse transfer line are NOT mutated by this edit — they remain canonical intent.
Get Receipt Activity Log
Returns paginated activity log entries for a specific receipt.
Get Receipt Inventory Movements
Returns paginated inventory movements scoped to the given warehouse transfer receipt. Includes movement type, quantity, FIFO layer link, unit/total cost, and product/warehouse references for each movement. Used by the Movements tab on the receipt detail page.
Get Receipt FIFO Layers
Returns paginated FIFO layers created by the given warehouse transfer receipt. Each layer includes original/available quantity, average unit cost, total cost, polymorphic source link, and product/warehouse references. Used by the FIFO Layers tab on the receipt detail page.