How to use nodejs code to create Individual customer in SAP C4C
How to use nodejs code in SAP C4C to create Individual customer, I believe that many inexperienced people do not know what to do, so this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.
Requirements: use nodejs code to create Individual customer instances in SAP Cloud for Customer.
Code:
Var createAndBind = require ('.. / jerryapp/service/createAccountinC4C.js')
CreateAndBind ("o0KlM1i2_4-zHRmDk-IWGRlA1Cjc")
The above code is based on Wechat open IDo0KlM1i2_4-zHRmDk-IWGRlA1Cjc to create an Individual customer in the system.
The specific implementation of createAccountinC4C.js is on github of Jerry:
Https://github.com/i042416/wechat/blob/master/jerryapp/service/createAccountInC4C.js
Enter the command node createAccountAndSocialProfile.js at the command prompt:
The above code automatically creates an Individual customer in the system and prints out the ID:
After reading the above, do you know how to use nodejs code to create Individual customer in SAP C4C? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!