Skip to main content

InitialData

InitialData

An object defining initial settings for a new Vendure installation.

Signature
interface InitialData {
defaultLanguage: LanguageCode;
defaultZone: string;
roles?: RoleDefinition[];
countries: CountryDefinition[];
taxRates: Array<{ name: string; percentage: number }>;
shippingMethods: Array<{ name: string; price: number }>;
paymentMethods: Array<{ name: string; handler: ConfigurableOperationInput }>;
collections: CollectionDefinition[];
}

defaultLanguage

property

defaultZone

property
string

roles

property
RoleDefinition[]

countries

property
CountryDefinition[]

taxRates

property
Array<{ name: string; percentage: number }>

shippingMethods

property
Array<{ name: string; price: number }>

paymentMethods

property
Array<{ name: string; handler: ConfigurableOperationInput }>

collections

property
CollectionDefinition[]