Trigger notification for subscription activated via API #43
-
Hi there, For manual subscription handling outside of our frontend, we can't just complete the setup in the Swell UI - in our case we want to end a trial on a specific date. This is okay though, because we can create the draft in the UI and then use the console to PUT This works fine and things look correct in the UI, however it doesn't look like the email notification thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@jezzzm Generally, New subscription email notification is sent only when an active subscription is directly created from the cart.
|
Beta Was this translation helpful? Give feedback.
@jezzzm Generally, New subscription email notification is sent only when an active subscription is directly created from the cart.
In other words, it is triggered only for new records with
active: true
and it won't be triggered for the updation of subscription record data.But, you can still achieve sending email notification by adding additonal field in the PUT api call as follows:
"$notify": "new"
Screenshot for reference: