Is there a way to send e-mail over Mautic REST API with own properties sended in single-request send request? Example: I want to send process e-mail with order summary to client. So I want to prepare e-mail template with ex. {special:orderId}, {special:orderPrice},… and want to do something like this
Code:
$api->send(emailId, contactId, [
special => [
'orderId' => 123,
'orderPrice' => 1000
]
]);
Something extra - Client has some our e-shop categories in his favourites and I want to send basic newsletter with "new in your favourite category"... and just select created e-mail template and send with parameters
Code:
$parameters = [
1 => [
'name' => 'Product name',
'price' => 123,
'imgPath' => 'http://pathToImage'
...
],
...
]
Is there some way how to do this? I am beginner in Mautic but i thought it is designed for these specials but don't know how to do that...
Thank you very much for responds. Mautic v. 2.4
Is there a way to send e-mail over Mautic REST API with own properties sended in single-request send request? Example: I want to send process e-mail with order summary to client. So I want to prepare e-mail template with ex. {special:orderId}, {special:orderPrice},… and want to do something like this
$api->send(emailId, contactId, [
special => [
'orderId' => 123,
'orderPrice' => 1000
]
]);
Something extra - Client has some our e-shop categories in his favourites and I want to send basic newsletter with “new in your favourite category”… and just select created e-mail template and send with parameters
$parameters = [
1 => [
'name' => 'Product name',
'price' => 123,
'imgPath' => 'http://pathToImage'
...
],
...
]
Is there some way how to do this? I am beginner in Mautic but i thought it is designed for these specials but don’t know how to do that…
Thank you very much for responds. Mautic v. 2.4