sendinblue / APIv3-nodejs-library

SendinBlue's API v3 Node.js Library
ISC License
101 stars 47 forks source link

What is the API for add transactions on user. #78

Closed jihin closed 1 year ago

jihin commented 4 years ago

I need to add transactions on user. I cant find any APIs for that. From UI i am able do by editing the user. Screenshot 2020-05-06 at 4 06 10 PM

polesapart commented 3 years ago

And how do I use this data in email templates? Docs have examples about transactional parameters but not about transactional attributes.

shubhamUpadhyayInBlue commented 1 year ago

Hi @jihin I guess you are talking about updating the attributes of a user. Here is an API for it: https://developers.sendinblue.com/reference/updateattribute.

Also, @polesapart the transactional attributes can be used like: https://developers.sendinblue.com/reference/sendtransacemail, lookout for params field sendSmtpEmail.params = {"parameter":"My param value","subject":"New Subject"}; in the page.

shubhamUpadhyayInBlue commented 1 year ago

This article will also help you: https://help.sendinblue.com/hc/en-us/articles/360000991960