ResumeSubscription
Resumes 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 Id of the subscription to resume. |
| BillingCycleAnchor | String | Determines how the billing cycle anchor is handled when the subscription resumes. 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.
The allowed values are now, unchanged. |
| ProrationBehavior | String | Determines how to handle prorations when the billing cycle changes, such as when switching plans, resetting billing_cycle_anchor=now, or starting a trial, or when an item's quantity changes. The default value is create_prorations. Possible Values - always_invoice, create_prorations, none.
The allowed values are always_invoice, create_prorations, none. |
| ProrationDate | Datetime | The date used to calculate prorations when the subscription resumes. This value is measured in seconds since the Unix epoch. |
Result Set Columns
| Name | Type | Description |
| Success | String | The execution status of the stored procedure. |