Reputation: 109
I'm using beatbox API to update/insert data in to salesforce opportunity object.
upsert() throws INVALID FIELD error when I pass Id as externalIDFieldName. Currently I'm using another unique external Id and it's working fine but I want to use the salesforce Id.
Please shed some light on what I'm missing.
Upvotes: 0
Views: 692
Reputation: 3767
You can specify "Id" as an external key.
If you need to upsert based on Id, use SOAP API.
Upvotes: 0
Reputation: 19050
If you already know the salesforce Id of the record, just call update instead.
Upvotes: 3