Closed adityabansod closed 9 years ago
Hi, thanks for pointing this out. This should be fixed now (Github and NPM have been updated).
Here is a working example (I included multiple tags just for demonstration):
var eventdata = {
tags: 'somesampletag,somesampletag2',
email: 'example@example.com'
};
ac.api('contact/tag/add', eventdata);
Let us know of any problems or questions! :+1:
This code fires a
Invalid API method
error:the contact has been created earlier by calling
ac.api('contact/add')
.