Update a subscription

View as Markdown

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.