ls_update_subscription
Update a subscription to switch plans, pause or resume billing, set billing anchors, adjust trial dates, or un-cancel. Handles changes that affect payment with rate limits and audit.
Instructions
Update a subscription. Can change the variant (plan switch), pause/unpause, set billing anchor, or update invoice details. Pausing (pause: 'void' or 'free'), switching plan (variantId), changing the billing anchor (billingAnchor), invoicing immediately (invoiceImmediately: true), or changing the trial end (trialEndsAt) changes what the customer pays or when, and is treated as destructive (rate-limited and audited); resuming (pause: 'resume'), un-cancelling (cancelled: false), invoiceImmediately: false and disableProrations are not. Use ls_cancel_subscription for cancellation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pause | No | Pause mode: 'void' (pause, skip billing), 'free' (pause, keep access free), or 'resume' to unpause | |
| cancelled | No | Set to false to un-cancel a subscription before it expires. To cancel, use ls_cancel_subscription instead. | |
| variantId | No | New variant ID for plan switching | |
| trialEndsAt | No | Set trial end date (ISO 8601 format). Set to null to end trial immediately. | |
| billingAnchor | No | Day of month (1-28) to anchor billing to | |
| subscriptionId | Yes | The subscription ID to update | |
| disableProrations | No | If true, disable prorations when changing plans | |
| invoiceImmediately | No | If true, invoice immediately when updating (default false for prorated changes) |