Cancel a customer's subscription
smartrr_cancel_customer_subscriptionWRITE, DESTRUCTIVE: cancel a customer's subscription in the merchant's store (this is the customer's Smartrr subscription, not your usefulapi plan). It stops all future orders and charges; the reason may trigger Smartrr's configured cancellation emails or actions. It can be undone only with smartrr_resume_subscription. Get reason_id from smartrr_list_cancellation_reasons. PUT /vendor/customer/{customerId}/purchase-state/{subscriptionId}/cancel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason_id | Yes | Cancellation reason id from smartrr_list_cancellation_reasons. | |
| customer_id | Yes | Smartrr customer id (`custRel.id`). | |
| subscription_id | Yes | Smartrr subscription id (`id`, a UUID). |