function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Angelina ShinAngelina Shin 

REST API - USE case of Inserting New Records Using Id as the External ID

I'd like to know the different between 
Inserting New Records Using Id as the External ID

and 
 
Create record
I can use Create record without an external ID.  In what case would I use this endpoint?  Thank you! 
 
Agustin BAgustin B
Hey Angelina, I believe this has been answered here:
https://salesforce.stackexchange.com/questions/225666/what-is-the-benefit-of-inserting-new-records-using-id-as-the-external-id

If it helps please like and mark as correct so this can be solved.
Angelina ShinAngelina Shin
Hi Agustin, I found the answer to be confusing, because 'Inserting New Records Using ID as the External ID'  can not update an existing record.   It's only purpose is to insert a new record (from my understanding).   Is there a way to check if an ID exists, if so, update, and if it doesn't exist, insert a new record.   Upserting only supports external ID from what I see.