Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Trustpilot AFS json on email templates
Hello everyone,
I am trying to integrate the TrustPilot's AFS onto our email templates.
The article here, I can copy the code onto the <body> tag of the templte.
<script type="application/json+trustpilot">
{
"recipientName": "<NLCUSTOMERNAME>",
"recipientEmail": "<NLEMAIL> ",
"referenceId": "<NLORDERCONFIRMATIONNUMBER>",
"products": [
{
"productUrl": <NLSTORELINK>",
"name": "<NLITEMLIST>",
"sku": "<NLITEMLIST>"
}
]
}
</script>
Data seems to be coming over, but it appears to be in error. Invalid JSON data
Tagged:
0