Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to add support for extended fields when calling Marketing Cloud contact to create API

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Requirements: the extension field "Wechat ID" is the extension field I created. I want to use the contact creation API provided by Marketing Cloud to support this extension field when creating contact. In other words, I want to give the maintenance value to Extension field when I call contact create API, and after contact is created, Extension field will be populated with the value passed when API is called.

First find the technical name technical name:YY1_WECHATID_MPS of this field in the Chrome developer tool

Configure the extension fields on the Contact creation page

Create a new contact instance, maintain a value for the extension field, such as i042416, and observe the creation payload through the network tab of the chrome developer tool:

Then you can maintain the name and value of the extension field in the nodejs code according to law:

Complete source code: https://github.com/i042416/wechat/blob/master/unittest/MarketingCloud/createContact.js

For more original Jerry articles, please follow the official account "Wang Zixi":

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report