Skip to main content
Alok_biswas
Level 2
Jul 23, 2022 6:34 AM UTC
Solved

Updating Opportunity fields in Marketo using API

I want to update Opportunity fields and certain Account fields (for ex Account owner) using API. It seems Marketo is not exposing their API names. Can someone suggest how to do that?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Darshil_Shah1
Darshil_Shah1Accepted solution
Adobe Champion, Community Advisor, UG Leader
Jul 23, 2022 8:05 AM UTC

Marketo has exposed the Opportunity and Company API endpoints for the CRUD operations on the respective object's records. It's however worth noting that the these APIs allow read-only access for the instances that have native CRM sync (SFDC/MSD) enabled, as both the objects (Opportunity and Company) are managed by the CRM, and Marketo has only read only access to them.

 

5 replies

Darshil_Shah1
Adobe Champion, Community Advisor, UG Leader
Darshil_Shah1Adobe Champion, Community Advisor, UG LeaderAccepted solution
Adobe Champion, Community Advisor, UG Leader
Jul 23, 2022 8:05 AM UTC

Marketo has exposed the Opportunity and Company API endpoints for the CRUD operations on the respective object's records. It's however worth noting that the these APIs allow read-only access for the instances that have native CRM sync (SFDC/MSD) enabled, as both the objects (Opportunity and Company) are managed by the CRM, and Marketo has only read only access to them.

 

Translate
Alok_biswas
Level 2
Jul 23, 2022 3:20 PM UTC

Hi Darshil,

 

Okay, but I'm still confused as in the field management it's showing the API name as 'None'. If we can have a CRUD operation performed then there should be an API name for the field?

 

 

Regards, 

Alok

 

Translate
Darshil_Shah1
Adobe Champion, Community Advisor, UG Leader
Adobe Champion, Community Advisor, UG Leader
Jul 23, 2022 4:26 PM UTC

Yes, that's expected! Account and Sales Owner fields are the system managed fields, and there isn't a way to update these fields via API in-case of a native CRM integration enabled instance. You can use the Change Owner flow step in Marketo to update the sales owner or use a proxy custom field for the lead assignment (which you'd be able to update via the API), but that's pretty much it, you can't update the system managed Sales/Account owner fields via the API as those are managed primarily by the CRM.

 

Also, all the fields returned by the describe endpoints of the company and opportunity object are avilable for the CRUD operations for the instance w/o native SFDC/MSD CRM integration enabled.

 

Translate