sfdx force:data:tree:import

Import data into an org

Options

NameDescription
--jsonFormat output as json
--loglevel <loglevel>Logging level for this command invocation
-u, --targetusername <targetusername>Username or alias for the target org; overrides default target org
--apiversion <apiversion>Override the api version used for api requests made by this command
-f, --sobjecttreefiles <sobjecttreefiles>Comma-delimited, ordered paths of json files containing collection of record trees to insert
-p, --plan <plan>Path to plan to insert multiple data files that have master-detail relationships
--confighelpDisplay schema information for the --plan configuration file to stdout; if you use this option, all other options except --json are ignored