cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Marketing Cloud - Contact v4 API - Update CorporateAccountName

tomvanrooijen
Participant
795

Hi all,

I'm setting up an integration to upload external contacts into Marketing Cloud using SAP CPI.

For this I use the API_MKT_CONTACT_SRV api Version 4.

Contacts are created using the ContactOriginData entity, email & phone with the AdditionalID entity.

One field I would also like to update is the CorporateAccountName field. This however is not part of the ContactOriginData entity, it is only part of the Contacts entity.
However the Contacts entity cannot be used for updates, it is meant only for QUERY and GET.
So how can I update the corporate account name for my new contacts?
Do I need to use a different API?

Thanks!

Tom

Accepted Solutions (1)

Accepted Solutions (1)

former_member599277
Contributor
0 Likes

Dear Tom,

The API_MKT_CONTACTS v4 provides the entity set ContactRelationData to import the contact - account relationship:

Structure of OData Service API_MKT_CONTACTS

Structure of OData Service API_MKT_CONTACTS - SAP Help Portal

=> ContactRelationData

The entity is fully supporting the B2B relationship, the 'assignment' via the property CorporateAccountName is not longer supported - this did not create a real contact - account relationship, but stored the account name as a text field only. The assignment is required to be maintained via account id origin and account id.

Please also find some payload examples in the online help:

Payload Examples for Contact-to-Account Relationships - SAP Help Portal

Regards,
Saravana.

tomvanrooijen
Participant

Hi saravana92

Thank you for your answer!

Does that mean that we need to use the RelatedInteractionContactUUID for this? The label says corporate account.
However the contacts we are importing form an external system will surely sometimes have a corporate account name that is not exactly the same as those defined in Marketing cloud. It will be difficult to match them with the real account UUID in MC in the integration.

Or is there another way of working to supply the coporate account name in the ContactRelationData entity?

Regards

Tom

former_member599277
Contributor
0 Likes

Dear Tom,

RelatedInteractionContactUUID is Contact UUID and it cannot be used as Corporate Account Name ,if you need Corporate account name , you can use the custom field and BADI to get the required behavior.

Regards,
Saravana.

Answers (0)