Skip to main content

Get Inventory Data

GET 

/api/assemblies/inventory-data

Returns inventory availability data for a kit product and its components across all warehouses. Used in the assembly form to show per-warehouse stock levels.

Authentication: Requires Bearer token

Response:

  • kit_inventory: Map of warehouse_id => {warehouse_id, warehouse_name, quantity} for the kit product
  • component_inventory: Map of warehouse_id => {product_id: available_qty} for each component

Request

Responses

Successful response