Developer Docs

Developer Docs

  • Getting Started
  • SubscriptionJS
  • REST API
  • Webhooks
  • Code Samples
  • UseCases
  • Request a Demo

›Miscellaneous

Introduction

  • Introduction

Contracts

  • Adding contract for new customer
  • Adding contract for existing customer
  • Adding future contract without invoicing
  • Up/-downgrading to a plan variant
  • Terminate a contract with notice
  • Terminate a contract without notice

Components

    Component subscriptions

    • Concept
    • Adding/removing
    • In-/decreasing quantity
    • Override for components

    Metered usage components

    • Concept
    • Bill metered usage
    • Override for metered usage

Discounts

  • Adding discounts
  • Adding discounts via coupon

Miscellaneous

  • Rated items
  • Email Notification Template

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.

Please 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"
}
Last updated on 5/14/2020 by AxelDuenninger
← Rated items
Docs
Getting StartedAPI Reference
Resource
Help CenterSupportBlogTutorials
Start with billwerk
Test for free
Request a Demo
Already started?
billwerk Sandboxbillwerk Production
billwerk GmbH
© Made with ❤ in Germany for Europe by billwerk GmbH | 2022
Imprint
|
Data Privacy Rules
|
Disclaimer