cancel
Showing results for 
Search instead for 
Did you mean: 

Add Valid until date to an active subscription

ankit__123__
Explorer
0 Kudos

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.

former_member755598
Participant
0 Kudos

Hi Ankit, do you want to do this via API or using the user interface?


Do you want to set the validUntil date to be in the future or in the past?

View Entire Topic
stefan_kiene
Product and Topic Expert
Product and Topic Expert

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.

ankit__123__
Explorer

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.

former_member755598
Participant

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.

ankit__123__
Explorer

Thank you Christopher.