- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createDefaultStoreStep - Medusa Core Workflows Reference
This documentation provides a reference to the createDefaultStoreStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step creates a default store. Useful if creating a workflow that seeds data into Medusa.
Example#
Input#
CreateDefaultStoreStepInput
CreateDefaultStoreStepInputOutput#
StoreDTO
StoreDTOThe store details.
StoreDTO
StoreDTOid
stringThe ID of the store.
id
stringname
stringThe name of the store.
name
stringmetadata
null | Record<string, any>Holds custom data in key-value pairs.
metadata
null | Record<string, any>created_at
stringThe created at of the store.
created_at
stringupdated_at
stringThe updated at of the store.
updated_at
stringThe supported currency codes of the store.
default_sales_channel_id
stringOptionalThe associated default sales channel's ID.
default_sales_channel_id
stringOptionaldefault_region_id
stringOptionalThe associated default region's ID.
default_region_id
stringOptionaldefault_location_id
stringOptionalThe associated default location's ID.
default_location_id
stringOptionalWas this page helpful?