UpsertDataInput

Field Type Required Description
allOrNone Boolean No If true, all operations must succeed or all will be rolled back.
duplicateCheck Boolean No Enables duplicate detection before upsert.
duplicateScore Integer No Minimum score to qualify a record as a duplicate.
scenarioIds List<String> No Optionally, you can filter which duplicate scenarios to use by providing scenarioIds. When provided, takes precedence over feature-based scenario selection.
objectType String Yes API name of the main Salesforce object to insert or update (e.g., Lead).
recordType String No Record Type developer name or ID to apply.
objectData Map<String, String> Yes Key-value pairs representing fields and values for the main record.
relatedList List<RelatedDataInput> No List of related records to process along with the main record.