- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createInventoryLevelsWorkflow - Medusa Core Workflows Reference
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 CodeExamples#
Steps#
Input#
CreateInventoryLevelsWorkflowInput
CreateInventoryLevelsWorkflowInputThe data to create the inventory levels.
CreateInventoryLevelsWorkflowInput
CreateInventoryLevelsWorkflowInputinventory_levels
CreateInventoryLevelInput[]The inventory levels to create.
inventory_levels
CreateInventoryLevelInput[]Output#
InventoryLevelDTO[]
InventoryLevelDTO[]
InventoryLevelDTO[]
InventoryLevelDTO[]InventoryLevelDTO
InventoryLevelDTOThe inventory level details.
InventoryLevelDTO
InventoryLevelDTOWas this page helpful?