Print this page

Updating Opportunity Owner via API Will Append To Sales Team

Knowledge Article Number 000212591
Description When changing Opportunity owner via UI, there an option called “Keep Opportunity Team”. This is unchecked by default in UI.  End users have option to either check or uncheck it.  However, when changing Opportunity Owner via API, Salesforce will by default “Keep Opportunity Team”. There is no setting to control “Opportunity Team” via API.
Resolution When changing Opportunity Owner via API, Salesforce will by default “Keep Opportunity Team”.  This is working as designed.  If you want to replace existing Opportunity team, you would also need to also make insert/update/delete to OpportunityShare object via API.




promote demote