Skip to main content

Welcome to our Dev Docs!

Override OrderSucceeded Email Notification Template

billwerk offers a feature where different events create email notifications (FAQ EN/DE) sent to the customer. This particular section is interested in the event OrderSucceeded. You can either select the template that will be used or even prevent the system using one. Naturally this is done during a Signup or Up-/Downgrade. The following examples will show how to use the functionality during a Signup.

Note

Not specifying the EmailTemplateExternalId will result in using the default template for the event OrderSucceeded.

Sample requests
POST / Orders with email notification template
{
    "Cart":
    {
        "PlanVariantId": "599d51f881b1f00a28f7aeb2"
    },
    "EmailTemplateExternalId": "ThankYou" //Given you have a template named "ThankYou"
}
POST /Orders without email notification template
{
    "Cart":
    {
        "PlanVariantId": "599d51f881b1f00a28f7aeb2"
    },
    "EmailTemplateExternalId": "None"
}