CancelSubscription
Cancels a customer's subscription immediately.
Stored Procedure-Specific Information
To run this procedure, enter:EXEC CancelSubscription SubscriptionId = 'sub_1OhQdeSC4snQ4WkOg6UheEPI', InvoiceNow = 'false', IsProrate = 'false', CancellationDetailsComment = 'commenting', CancellationDetailsFeedback = 'low_quality'
Input
| Name | Type | Description |
| SubscriptionId | String | The Subscription Id. |
| CancellationDetailsComment | String | Additional comments about why the user canceled the subscription. |
| CancellationDetailsFeedback | String | The customer-submitted reason for why they canceled. |
| InvoiceNow | String | Generates a final invoice that invoices for any un-invoiced metered usage and new/pending proration invoice items. |
| IsProrate | String | Generates a proration invoice item that credits remaining unused time until the subscription period end. |
Result Set Columns
| Name | Type | Description |
| Success | String | The execution status of the stored procedure. |