Update subscription
lemonsqueezy_update_subscriptionWRITE: Modify a LIVE subscription — change plan/tier (variant_id), cancel, pause/unpause, or set the billing anchor. This affects a real customer's billing. API: PATCH /subscriptions/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pause | No | Pause object (mode, resumes_at), or null to unpause. | |
| cancelled | No | Set true to cancel, false to un-cancel. | |
| variant_id | No | New variant id to switch the plan/tier to. | |
| billing_anchor | No | Day of month (1-31) to anchor billing to. | |
| subscription_id | Yes | Subscription id to update (required). |