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
id
stringRequiredThe store's ID
created_at
DateRequiredThe date with timezone at which the resource was created.
updated_at
DateRequiredThe date with timezone at which the resource was updated.
name
stringRequiredThe name of the Store - this may be displayed to the Customer.
Default: Medusa Store
default_currency_code
stringRequiredThe three character currency code that is the default of the store.
The details of the store's default currency.Default: usd
usd
The details of the enabled currencies in the store.
swap_link_template
null | stringRequiredA template to generate Swap links from. Use {{cart_id}} to include the Swap's
cart\_id
in the link.payment_link_template
null | stringRequiredA template to generate Payment links from. Use {{cart_id}} to include the payment's
cart\_id
in the link.invite_link_template
null | stringRequiredA template to generate Invite links from
default_location_id
stringRequiredThe location ID the store is associated with.
metadata
null | Record<string, unknown>RequiredAn optional key-value map with additional details
default_sales_channel_id
null | stringRequiredThe ID of the store's default sales channel.
The details of the store's default sales channel.
Was this section helpful?