on 2022 Jun 13 10:41 AM
Hi experts,
First in Subscription Billing I create a subscription with no valid until date.
Next I want to add a valid until date to it, how do I do that.
Hi Norbert,
yes, you describe the behavior correctly.
Kind regards,
Annette
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ankit,
to set the valid until date you need to cancel the subscription.
The API provides similar behaviour like the UI: you can request a cancellation with this endpoint.
The system will calculate the expiration date and populate the validUntil field in the subscription accordingly.
Depending on your cancellation rules of your subscriptions you might need to use the property "overruleTerms" to force the system to accept the requested cancellation date as expiration/validUntil date.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefan,
When I cancel a subscription the status also changes from Active to Cancelled.(valid until date is populated)
I want the status of subscription to remain Active and upload valid until date.
Hi Ankit,
I understand where you are coming from with your follow-up question- it might seem a bit counter-intuitive at first to view the status canceled if the subscription is still actually still active. In SAP Subscription Billing in this case, however, the canceled status just means that the subscription is active and there is a date in the future on which the subscription will expire, which is exactly what you want. The subscription will behave the same way as if you had included a validUntil date in the original subscription payload. In the future you can reverse the cancellation if you need to.
Subscription Life Cycle | SAP Help Portal
Canceled means:
The subscription is active, but the customer asked to cancel it as of a future date.
The canceled subscription is scheduled to expire as of the next possible expiration date in accordance with the subscription terms.
The cancellation is reversible as long as the calculated expiration date isn't reached.
Thank you Christopher.
Hi Ankit, you can use the product change endpoint to add a fixed term to the subscription. The endpoint to use is /subscriptions /{id}/processes/productchange
with a payload like this:
{
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Anette,
can you confirm, that it is possible to extend a subscription to a specific end-date with the endpoint /subscriptions/{id}/extension
parameter extensionDate? However in the user interface only extension by number of billing periods or unlimited is supported?
Thank you in advance.
Best regards,
Norbert Sarfi
I want to do it via API and a future date(end date of the current subs cycle)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
4 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.