Zoho CRM API - Insert and update in one call

Zoho CRM API - Insert and update in one call

There is Zoho CRM API method: "insertRecords" that takes parameter: " duplicateCheck":

duplicateCheck Integer Set value as "1" to check the duplicate records and throw an error response or "2" to check the duplicate records, if exists, update the same.
But I want to update and (at the same time) insert my data. When I'm calling this method with "duplicateCheck=2" - only duplicated rows are updated and not existing rows (in ZohoCRM) aren't inserted.
Result of this call is - ids of rows updated.

Can I do this in one api call? Something like "updateOrInsert"? Or how ->should<- I do this?

I don't want to fetch all records and compare response of that call with updated row's ids. Then make next call with only "not existing" records.