Sends a previously prepared message as a transactional message including transaction details such as purchase confirmation.
User can iterate through the list of items using <%ForEach%> expression to access the individual item.
User can specify any number of attributes aka ${transaction_details} and access them using expression language.
It is strongly recommended to use the same structure for each item.
<%ForEach var="product" items="${transaction_details}" max="10"%>
|
|
|
Var value refers to a single object inside the list of itemDetails, the name can by anything, in this case, it’s the product.
Items value refers to eventDetails which is a placeholder for the list of items we want to show.Available from |
---|
v12 |
POST [REST URL]/message/sendTransactionalWithEventDetails
Parameter | Type | Description |
---|---|---|
recipientId | Long | ID of the user |
messageId | Long | ID of the message or prepared message |
externalTransactionFormula | String | External transactional identifier |