docs: fix SendGrid's dynamic_template_data property (#5112)
This commit is contained in:
1 parent
254ae8d07f
commit
a161f689b9
8 files changed
+9
-9
No files matched your search
@@ -164,7 +164,7 @@ class NewNoteSubscriber {
|
||||
templateId: "order-update",
|
||||
from: "hello@medusajs.com",
|
||||
to: order.email,
|
||||
data: {
|
||||
dynamic_template_data: {
|
||||
// any data necessary for your template...
|
||||
note_text: note.value,
|
||||
note_author: note.author.first_name,
|
||||
@@ -623,7 +623,7 @@ class SendProductsNewsletterSubscriber {
|
||||
name: customer.first_name,
|
||||
email: customer.email,
|
||||
})),
|
||||
data: {
|
||||
dynamic_template_data: {
|
||||
// any data necessary for your template...
|
||||
products,
|
||||
},
|
||||
|
||||
@@ -1055,7 +1055,7 @@ class HandleOrderSubscribers {
|
||||
templateId: "digital-download",
|
||||
from: "hello@medusajs.com",
|
||||
to: order.email,
|
||||
data: {
|
||||
dynamic_template_data: {
|
||||
// any data necessary for your template...
|
||||
digital_download_urls: urls,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user