Store
A store holds the main settings of the commerce shop. By default, only one store is created and used within the Medusa backend. It holds settings related to the name of the store, available currencies, and more.
Properties
idstringRequiredThe store's ID
created_atDateRequiredThe date with timezone at which the resource was created.
updated_atDateRequiredThe date with timezone at which the resource was updated.
namestringRequiredThe name of the Store - this may be displayed to the Customer.
Default: Medusa Store
default_currency_codestringRequiredThe three character currency code that is the default of the store.
The details of the store's default currency.Default: usd
usdThe details of the enabled currencies in the store.
swap_link_templatenull | stringRequiredA template to generate Swap links from. Use {{cart_id}} to include the Swap's
cart\_id in the link.payment_link_templatenull | stringRequiredA template to generate Payment links from. Use {{cart_id}} to include the payment's
cart\_id in the link.invite_link_templatenull | stringRequiredA template to generate Invite links from
default_location_idstringRequiredThe location ID the store is associated with.
metadatanull | Record<string, unknown>RequiredAn optional key-value map with additional details
default_sales_channel_idnull | stringRequiredThe ID of the store's default sales channel.
The details of the store's default sales channel.
Was this section helpful?