We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello there,
This is my request :
const mjSubscription = await mailjet .post("contactslist", {'version': 'v3'}) .id(process.env.MJ_CONTACT_LIST_ID) .action("managecontact") .request({ "Name": user.first_name + ' ' + user.last_name, "Properties": JSON.stringify({ "first_name": user.first_name, "last_name": user.last_name, "contakt_id": user.id, "employer_id": user.employer, }), "Action": "addnoforce", "Email": user.email, }); const mjContact = mjSubscription.body.Data[0]; console.log(mjContact);
The properties are correctly set in Mailjet
But the Properties and the Name are not set in Mailjet
Properties
Name
Any idea why ?
Thank you Vincent
The text was updated successfully, but these errors were encountered:
I have the same problem, @vwasteels did you find a solution?
EDIT: After several tests, I observe that it works well. You should not use JSON.stringify. An object is indeed expected for Properties.
JSON.stringify
Sorry, something went wrong.
No branches or pull requests
Hello there,
This is my request :
The properties are correctly set in Mailjet
But the
Properties
and theName
are not set in MailjetAny idea why ?
Thank you
Vincent
The text was updated successfully, but these errors were encountered: