- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createDefaultsWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the createDefaultsWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow creates default data for a Medusa application, including a default sales channel and store. The Medusa application uses this workflow to create the default data, if not existing, when the application is first started.
You can use this workflow within your customizations or your own custom workflows, allowing you to create default data within your custom flows, such as seed scripts.
Source CodeExamples#
Steps#
Output#
Was this page helpful?