List inventory items for a company
Retrieves all inventory items belonging to the specified company. Supports optimisation scenarios by returning key product and section metadata.
path Parameters
companyIdThe unique identifier of the company. Example: 11111111-2222-3333-4444-555555555555
List inventory items for a company › Responses
List of inventory items retrieved successfully
createdAtTimestamp when the record was created (UTC)
updatedAtTimestamp when the record was last updated (UTC)
millCertificationIdMill certification ID if inventory is linked to a mill cert via heat code
typeLabelResolved label for Type
materialLabelResolved label for Material
supplierNameResolved name for Supplier (from Organisations)
quantityNumber of pieces available
weightTotal weight in kilograms
heatCodeHeat code for traceability
diameterDiameter in millimetres
lengthLength dimension (mm)
widthWidth dimension (mm)
depthDepth dimension (mm)
typeType reference (FK to InventoryTypes)
materialMaterial reference (FK to InventoryMaterials)
supplierIdSupplier reference (FK to Organisations)
inventoryIdUnique identifier for the inventory record
companyIdIdentifier of the owning company
productNameHuman readable product name
unitPriceUnit price in company currency
Update existing inventory items
Updates one or more existing inventory items. Each item must belong to the specified company and will be validated before persistence.
path Parameters
companyIdThe unique identifier of the company for which items are updated. Example: 11111111-2222-3333-4444-555555555555
Update existing inventory items › Request Body
quantityNumber of pieces available
weightTotal weight in kilograms
heatCodeHeat code for traceability
diameterDiameter in millimetres
lengthLength dimension (mm)
widthWidth dimension (mm)
depthDepth dimension (mm)
typeType reference (FK to InventoryTypes)
materialMaterial reference (FK to InventoryMaterials)
supplierIdSupplier reference (FK to Organisations)
inventoryIdUnique identifier for the inventory record
companyIdIdentifier of the owning company
productNameHuman readable product name
unitPriceUnit price in company currency
Update existing inventory items › Responses
Inventory items updated successfully with enriched type and material labels
typeLabelResolved label for Type
materialLabelResolved label for Material
supplierNameResolved name for Supplier (from Organisations)
quantityNumber of pieces available
weightTotal weight in kilograms
heatCodeHeat code for traceability
diameterDiameter in millimetres
lengthLength dimension (mm)
widthWidth dimension (mm)
depthDepth dimension (mm)
typeType reference (FK to InventoryTypes)
materialMaterial reference (FK to InventoryMaterials)
supplierIdSupplier reference (FK to Organisations)
inventoryIdUnique identifier for the inventory record
companyIdIdentifier of the owning company
productNameHuman readable product name
unitPriceUnit price in company currency
Create new inventory items
Creates one or more new inventory items for the specified company. Each item will be associated with the companyId provided in the route.
path Parameters
companyIdThe unique identifier of the company under which items are created. Example: 11111111-2222-3333-4444-555555555555
Create new inventory items › Request Body
quantityNumber of pieces available
weightTotal weight in kilograms
heatCodeHeat code for traceability
diameterDiameter in millimetres
lengthLength dimension (mm)
widthWidth dimension (mm)
depthDepth dimension (mm)
typeType reference (FK to InventoryTypes)
materialMaterial reference (FK to InventoryMaterials)
supplierIdSupplier reference (FK to Organisations)
inventoryIdUnique identifier for the inventory record
companyIdIdentifier of the owning company
productNameHuman readable product name
unitPriceUnit price in company currency
Create new inventory items › Responses
Inventory items created successfully with enriched type, material, and supplier labels
typeLabelResolved label for Type
materialLabelResolved label for Material
supplierNameResolved name for Supplier (from Organisations)
quantityNumber of pieces available
weightTotal weight in kilograms
heatCodeHeat code for traceability
diameterDiameter in millimetres
lengthLength dimension (mm)
widthWidth dimension (mm)
depthDepth dimension (mm)
typeType reference (FK to InventoryTypes)
materialMaterial reference (FK to InventoryMaterials)
supplierIdSupplier reference (FK to Organisations)
inventoryIdUnique identifier for the inventory record
companyIdIdentifier of the owning company
productNameHuman readable product name
unitPriceUnit price in company currency
Delete inventory items
Deletes one or more inventory items for the specified company using a stored procedure that enforces authorisation and ownership.
path Parameters
companyIdThe unique identifier of the company owning the items. Example: 11111111-2222-3333-4444-555555555555
Delete inventory items › Responses
Inventory items deleted successfully
Get an inventory item by ID
Retrieves a single inventory item by its unique ID within the specified company. Includes core metadata required for optimisation and reporting.
path Parameters
companyIdThe unique identifier of the company that owns the inventory item. Example: 11111111-2222-3333-4444-555555555555
inventoryIdThe unique identifier of the inventory item to retrieve. Example: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
Get an inventory item by ID › Responses
Inventory item retrieved successfully
createdAtTimestamp when the record was created (UTC)
updatedAtTimestamp when the record was last updated (UTC)
millCertificationIdMill certification ID if inventory is linked to a mill cert via heat code
typeLabelResolved label for Type
materialLabelResolved label for Material
supplierNameResolved name for Supplier (from Organisations)
quantityNumber of pieces available
weightTotal weight in kilograms
heatCodeHeat code for traceability
diameterDiameter in millimetres
lengthLength dimension (mm)
widthWidth dimension (mm)
depthDepth dimension (mm)
typeType reference (FK to InventoryTypes)
materialMaterial reference (FK to InventoryMaterials)
supplierIdSupplier reference (FK to Organisations)
inventoryIdUnique identifier for the inventory record
companyIdIdentifier of the owning company
productNameHuman readable product name
unitPriceUnit price in company currency

