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 Id of the subscription to cancel. |
| CancellationDetailsComment | String | Additional comments about why the user canceled the subscription. |
| CancellationDetailsFeedback | String | The customer-submitted reason for why they canceled. |
| InvoiceNow | String | Indicates whether to generate a final invoice for any uninvoiced metered usage and new or pending proration invoice items. |
| IsProrate | String | Indicates whether to generate a proration invoice item that credits remaining unused time until the end of the subscription period. |
Result Set Columns
| Name | Type | Description |
| Success | String | Returns the execution status of the stored procedure. |