Loading...
Was this page helpful?
This documentation provides a reference to the createInventoryLevelsWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow creates one or more inventory levels. It's used by the Create Inventory Level API Route.
You can use this workflow within your own customizations or custom workflows, allowing you to create inventory levels in your custom flows.
Source CodeWorkflow hook
Step conditioned by when
View step details
CreateInventoryLevelsWorkflowInput
CreateInventoryLevelsWorkflowInputinventory_levels
CreateInventoryLevelInput[]InventoryLevelDTO[]
InventoryLevelDTO[]id
stringinventory_item_id
stringlocation_id
stringstocked_quantity
numberreserved_quantity
numberincoming_quantity
numberavailable_quantity
numbermetadata
null | Record<string, unknown>created_at
string | Dateupdated_at
string | Datedeleted_at
null | string | Date