How to create OpportunityPersonRole in Marketo? | Community
Skip to main content
September 6, 2013
Question

How to create OpportunityPersonRole in Marketo?

  • September 6, 2013
  • 4 replies
  • 963 views
ListMObjects API is returning OpportunityPersonRole as one of the MObjects.
How to create this in Marketo?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

September 6, 2013
Opportunities and Contact Roles are read from CRM. 
September 9, 2013
You can create Opportunities and OpportunityPersonRoles via the API when you are not using a Marketo native CRM integration (i.e. SFDC, MS Dynamics).

See this article on how to use the Marketo API to create Opportunities and Opportunity Person Roles.
October 9, 2013
Be aware that following the above article will produce you duplicate mobjects for OpportunityPersonRole, even if you have specified Upsert as operation. To overcome this, you should either send while updating the OpportunityPersonRole id (returned from Marketo the first time the object was created) or, create (through support) custom field on the OpportunityPersonRole which will act as external key. This external key will have unique value that you pass from your CRM system. This field should be both specified as external key and added as association attribute. 
October 9, 2013
Great point, thanks Georgi... I have updated the article to point this out.