ResumeSubscription
Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations.
Stored Procedure-Specific Information
To run this procedure, enter:EXEC ResumeSubscription SubscriptionId = 'sub_1Oh8LhSC4snQ4WkORvitHMQW', BillingCycleAnchor = 'unchanged', ProrationBehavior = 'always_invoice'
Input
| Name | Type | Description |
| SubscriptionId | String | The Subscription Id. |
| BillingCycleAnchor | String | Either now or unchanged. Setting the value to now resets the subscription's billing cycle anchor to the current time (in UTC). Setting the value to unchanged advances the subscription's billing cycle anchor to the period that surrounds the current time. |
| ProrationBehavior | String | Determines how to handle prorations when the billing cycle changes (for example, when switching plans, resetting billing_cycle_anchor=now, or starting a trial), or if an item's quantity changes. The possible values are always_invoice, create_prorations, and none. The default value is create_prorations. |
| ProrationDate | String | Either now or unchanged. Setting the value to now resets the subscription's billing cycle anchor to the current time (in UTC). Setting the value to unchanged advances the subscription's billing cycle anchor to the period that surrounds the current time. |
Result Set Columns
| Name | Type | Description |
| Success | String | Execution status of the stored procedure. |