Update a subscription
Updates a subscription. If plan_id is changed, this triggers a plan switch.
For non-plan changes (quantity, metadata), the subscription is updated in place.
Updates a subscription. If plan_id is changed, this triggers a plan switch.
For non-plan changes (quantity, metadata), the subscription is updated in place.
Use a secret key (sk_test_* or sk_live_*) for full read/write access, or a public key (pk_test_* or pk_live_*) for read-only access.
New plan ID (triggers a plan switch).
New billing cycle (used with plan switches).