Adding future contract without invoicing
By default, billwerk invoices contracts instantly as they are usually prepaid, this is also the case if a contract is created now but should actually start in the future. To work around this behavior you need a plan variant which costs nothing. If you now subscribe your customers to this plan variant there will be no costs for now.
After this step you have to create and commit an upgrade order with the future contract start date as ChangeDate
. If this date is reached, the system will bill.
Sample request - Sign up order
POST /Orders
{
"Cart":{
"PlanVariantId":"5cb72076443e5521a8bexxxx"
},
"CustomerId":"5cd183b8443e551e4446xxxx",
"StartDate":"2021-03-05T00:00:00.000Z"
}
Sample request - Upgrade order
{
"ContractId":"5ced07d14de0841b78b0fb0f",
"Cart":{
"PlanId":"5c8ba204443e55181c34c62f",
"PlanVariantId":"5c8ba204443e55181c34c633"
},
"ChangeDate":"2019-06-01T00:00:00.000Z"
}
Updated 9 months ago
What’s Next