sfdx force:data:bulk:upsert
Bulk upsert records from a CSV file
Options
Name | Description |
---|---|
--json | Format 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 |
-i, --externalid <externalid> | The column name of the external ID |
-f, --csvfile <csvfile> | The path to the CSV file that defines the records to upsert |
-s, --sobjecttype <sobjecttype> | The sObject type of the records you want to upsert |
-w, --wait <wait> | The number of minutes to wait for the command to complete before displaying the results |
-r, --serial | Run batches in serial mode |