subscription.plan_changed
Generated from COPE public event contracts. Do not edit this page by hand.Use this event to follow a subscription that changed plan rather than price — the sibling of subscription.amount_changed, which announces a new amount on the SAME plan. The switch is applied in place with no proration; the new plan’s amount bills at the existing cycle boundary, and the currency does not move. A plan on another cadence starts it at that same boundary: the period already paid for is kept, and nothing is charged until then.
new_plan is the plan the subscription now runs on; old_plan is the plan it moved off, and null when no recorded fact names that plan. effective_at is a prediction on the same terms as subscription.amount_changed. The body names the business, the order, the line item and the subscription, each as object and id; store subscription.id to match later events on the same subscription, and read everything else about them through the API.