Skip to content

Shop configuration: theme data reference

Reading the data tables. Presence varies by page and state; this is not a requirement to populate every field.

Field Type Meaning Availability
viewModel.shop object Shop data; check child fields before use. When the parent is provided; check optional fields.
viewModel.shop.defaultCurrencyId number default currency identifier; do not load data with it. When the parent is provided; check optional fields.
viewModel.shop.defaultCurrencyIsoCode string Default currency iso code value supplied for this context. When the parent is provided; check optional fields.
viewModel.shop.defaultLanguageId number default language identifier; do not load data with it. When the parent is provided; check optional fields.
viewModel.shop.defaultLanguageIsoCode string Default language iso code value supplied for this context. When the parent is provided; check optional fields.
viewModel.shop.isActive boolean Whether active applies; use for display only. When the parent is provided; check optional fields.
viewModel.shop.isPrimary boolean Whether primary applies; use for display only. When the parent is provided; check optional fields.
viewModel.shop.key string Key value supplied for this context. When the parent is provided; check optional fields.
viewModel.shop.name string Name value supplied for this context. When the parent is provided; check optional fields.
viewModel.shop.priceFormatLocale string Price format locale value supplied for this context. When the parent is provided; check optional fields.
viewModel.shop.publicBaseUrl string Prepared public base URL; use unchanged. When the parent is provided; check optional fields.
viewModel.shop.shopId number shop identifier; do not load data with it. When the parent is provided; check optional fields.
viewModel.shop.storefrontThemeKey string Storefront theme key value supplied for this context. When the parent is provided; check optional fields.
viewModel.shop.themeKey string Theme key value supplied for this context. When the parent is provided; check optional fields.