Learn about the subscription state.
A subscription has a state attribute that describes the current status of the subscription. The following values enumerate the state of a Subscription: Subscribed, PendingActivation, Cancelled, PendingRenewal, and FreeTrial.
state
Subscribed
PendingActivation
Cancelled
PendingRenewal
FreeTrial
Activating a subscription changes the state from PendingActivation to Subscribed.
Cancelling a subscription changes the state from Subscribed or FreeTrial to Cancelled.
Converting a trial subscription changes the state from FreeTrial to Subscribed.
PendingRenewal is an intermediate state when a subscription is getting renewed.
The following diagram shows the subscription states.
Last updated 2 years ago