force record upsert
Upsert record using external ID
Synopsis
Upsert (insert or update) a record using an external ID field.
If a record with the given external ID value exists, it will be updated. Otherwise, a new record will be created.
Usage:
force record upsert
force record upsert <object> <extid>:<value> [<field>:<value>...]Examples
force record upsert Account External_Id__c:ABC123 Name:"Acme Corp" Industry:Technology
force record upsert Contact Email:john@example.com FirstName:John LastName:DoeOptions
-h, --help help for upsertOptions inherited from parent commands
-a, --account username account username to use
-V, --apiversion string API version to use
--config string config directory to use (default: .force)SEE ALSO
- force record - Create, modify, or view records