How Can We Help?
Adding a member to the OpportunityTeam of an opportunity
sf_api_call('/services/data/v40.0/sobjects/OpportunityTeamMember', method = 'post', {
'UserId': user_id,
'OpportunityId': opportunity_id,
'OpportunityAccessLevel': 'Edit',
'TeamMemberRole': 'SDR'
})