[Cotlet](https://cotlet.dev/index.md) · [Integrations](https://cotlet.dev/integrations.md) · [How it works](https://cotlet.dev/how-it-works.md) · [Use cases](https://cotlet.dev/use-cases.md) · [Security](https://cotlet.dev/security.md) · [For developers](https://cotlet.dev/for-developers.md) · [For automation agencies](https://cotlet.dev/for-agencies.md) · [Blog](https://cotlet.dev/blog.md) · [API docs](https://cotlet.dev/docs.md) · [Help center](https://cotlet.dev/help.md) · [Changelog](https://cotlet.dev/changelog.md) · [Contact](https://cotlet.dev/contact.md) · [Pricing](https://cotlet.dev/pricing.md) · [Sign up](https://cotlet.dev/signup)

# Change a Chargebee subscription plan for customers who ask

> Upgrade or downgrade a Chargebee subscription now with proration or at renewal, and see the invoice the change produces before the customer does.

Source: https://cotlet.dev/integrations/chargebee-api-mcp-server/change-subscription-plan

A customer asks for the bigger plan mid-month, and someone has to open the subscription, change the plan, choose whether the change applies now or at renewal and work out what the prorated invoice will say.

Cotlet does it in your own Chargebee account with list\_subscriptions, get\_subscription and change\_subscription\_plan, called by your AI agent, an n8n workflow or a script.

[Sign up free](https://cotlet.dev/app/signup?app=chargebee) [All Chargebee tools](https://cotlet.dev/integrations/chargebee-api-mcp-server.md)

Hosted · nothing to install or maintain

## Can Chargebee do this on its own?

Chargebee's REST API changes a subscription with update\_for\_items, including proration and replacing the item list (checked 14 Oct 2026). The ready-made MCP servers cannot change subscriptions. People who want an agent to do it today build a custom MCP server or script and manage an API key themselves.

## How you do it in Chargebee today

1. Open the subscription's details page from the customer profile or the Subscriptions index.
2. In the Actions pane, click Edit Subscription.
3. Change the plan, addons or quantities in the form.
4. In the Apply Changes section, choose Immediately (with an option to apply prorated credits and charges) or During next renewal.
5. Check old addons by hand: Chargebee does not remove mandatory addons of the old plan unless a site setting says so, and a new scheduled change overrides an earlier one.

## How to change a Chargebee subscription plan for customers who ask

Prompt

```
Move the Chargebee subscription sub_4d7mTz from the Starter plan to Growth now, quantity 1, with proration. Tell me what the invoice will be.
```

1. 01  
### Confirm the starting plan  
Your agent reads the subscription and compares its current item price with the "from" plan in your prompt. A mismatch, for example a customer already on Growth, ends the job with a one-line report.
2. 02  
### Look for a scheduled change  
Chargebee lets a new scheduled change override an old one. If the subscription already has one, the agent says so before sending anything, so a downgrade planned last month is not overwritten silently.
3. 03  
### Choose timing and proration  
The agent applies the change immediately or at next renewal as you wrote it. It sets proration only when you asked for it, because prorated credits and charges change what the customer sees on the next invoice.
4. 04  
### Handle addons  
If the old plan has mandatory addons that the new plan does not need, the agent lists them and asks, since Chargebee leaves them on the subscription.
5. 05  
### Send it and report the money  
After your OK, change\_subscription\_plan updates the subscription and returns the invoice the change created, with credit, charge and total, so you can confirm the amounts before the customer opens an email.

### What you get back

Example data

```
Moved sub_4d7mTz from Starter to Growth, effective now, prorated
Invoice INV-1043 created
Credit for unused Starter time: $49.50
Prorated Growth charge: $149.50
Invoice total: $100.00
Next renewal: 2026-11-01
```

### Other ways to ask

- Downgrade every subscription on the Growth plan whose customer asked in this week's tickets, at next renewal with no proration.
- Change quantity from 5 to 8 seats on sub\_4d7mTz now, prorated, and show me the invoice first.
- List active Starter subscriptions renewing in the next 7 days so I can pick who to move to Growth.

## What Chargebee allows, and what to know first

- In the Chargebee console the option is Edit Subscription, and Apply Changes offers Immediately, During next renewal and On a specific date; the last one must be enabled by Chargebee Support.
- A scheduled change can be set up to 1830 days ahead, and a new scheduled change overrides an existing one.
- With proration on, an immediate change creates credits for unused time and charges for the new time; Chargebee's API proration parameters do not work with scheduled changes.
- Mandatory addons of the old plan stay on the subscription unless the site setting "Remove mandatory addons from old plan during subscription plan update" is on, and that setting does not apply to the Self-Serve Portal.
- The update API takes replace\_items\_list: false adds the items you send to the existing ones, true replaces them.

change\_subscription\_plan asks for your OK by default. To run it weekly without you, switch confirmation off for that tool in your dashboard.

Sources: [Chargebee Docs: Working with Subscriptions](https://www.chargebee.com/docs/billing/2.0/subscriptions/subscriptions) · [Chargebee API: Update a subscription](https://apidocs.chargebee.com/docs/api/subscriptions/update-subscription-for-items)

## Call change\_subscription\_plan from a script

curl

```
curl -X PATCH https://cotlet.dev/api/v1/chargebee/item-prices/growth-USD-monthly/subscriptions/sub_4d7mTz/plan \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"quantity":1,"apply":"immediately","prorate":true}'
```

Example response

```
{
"subscription": {
"subscription_id": "sub_4d7mTz",
"status": "active",
"items": [
{
"item_price_id": "growth-USD-monthly",
"quantity": 1,
"unit_price": 29900
}
],
"next_billing_at": "2026-11-01T00:00:00Z"
},
"invoice": {
"invoice_id": "INV-1043",
"status": "payment_due",
"line_items": [
{
"description": "Growth plan, prorated charge",
"amount": 14950
},
{
"description": "Starter plan, unused time credit",
"amount": -4950
}
],
"total": 10000,
"currency_code": "USD"
}
}
```

MCP: add https://cotlet.dev/mcp/v1 with the same key; the call is chargebee\_write → change\_subscription\_plan. Example data.

[Schedule it in n8n, Make, Zapier or cron](https://cotlet.dev/integrations/chargebee-api-mcp-server.md#automations)

## Chargebee tools this automation uses

__Cotlet Chargebee tools used to change a Chargebee subscription plan for customers who ask__
| Tool | Parameters |
| -------------------------- | --------------------------------------------------------------------------- |
| list\_subscriptions | customer\_id, status, item\_price\_id, next\_billing\_before, limit, cursor |
| get\_subscription | subscription\_id |
| change\_subscription\_plan | subscription\_id, item\_price\_id, quantity, apply, prorate, replace\_items |

[All 12 Chargebee tools with descriptions](https://cotlet.dev/integrations/chargebee-api-mcp-server.md#tools)

## Frequently asked questions

### Is it safe to connect Chargebee to Cotlet?

Yes. You sign in to Chargebee yourself, in your own Cloud Browser in the EU, and we never save your password. Your agents only get Chargebee once you enable it, every background request is listed, and the browser profile is stored encrypted with AES-256-GCM, the cipher 1Password uses for its vaults. The AI model never sees a login, posts and messages wait for your OK, and Disable for agents cuts access in one click. Independent scanners grade cotlet.dev A+ on Qualys SSL Labs, securityheaders.com and Mozilla Observatory; live results are on https://cotlet.dev/security.

## More Chargebee automations

- [Cancel Chargebee subscriptions and credit the unused time](https://cotlet.dev/integrations/chargebee-api-mcp-server/cancel-subscriptions-and-credit-unused-time.md)
- [Issue Chargebee credit notes for refunds and billing mistakes](https://cotlet.dev/integrations/chargebee-api-mcp-server/issue-credit-notes.md)
- [Chargebee API and MCP server: every tool](https://cotlet.dev/integrations/chargebee-api-mcp-server.md)
- [All use cases](https://cotlet.dev/use-cases.md)

## Give your agent access to Chargebee.

Free 7-day trial with 2,000 credits, no card needed. Cotlet is independent and not affiliated with Chargebee.

[Sign up free](https://cotlet.dev/app/signup?app=chargebee)

---

Give your AI agents your signed-in browser.

**Product:** [Integrations](https://cotlet.dev/integrations.md) · [Use cases](https://cotlet.dev/use-cases.md) · [How it works](https://cotlet.dev/how-it-works.md) · [Pricing](https://cotlet.dev/pricing.md) · [Security](https://cotlet.dev/security.md)

**Resources:** [Blog](https://cotlet.dev/blog.md) · [API docs](https://cotlet.dev/docs.md) · [Help center](https://cotlet.dev/help.md) · [Changelog](https://cotlet.dev/changelog.md) · [GitHub](https://github.com/cotletdev/cotlet)

**Solutions:** [For developers](https://cotlet.dev/for-developers.md) · [For automation agencies](https://cotlet.dev/for-agencies.md)

**Company:** [About](https://cotlet.dev/about.md) · [AI info: company facts](https://cotlet.dev/ai-info.md) · [Contact](https://cotlet.dev/contact.md)

**Legal:** [Terms of service](https://cotlet.dev/terms) · [Privacy policy](https://cotlet.dev/privacy) · [Refund policy](https://cotlet.dev/refunds) · [Acceptable use](https://cotlet.dev/acceptable-use) · [Cookie policy](https://cotlet.dev/cookies) · [DPA](https://cotlet.dev/dpa) · [Subprocessors](https://cotlet.dev/subprocessors)

**Elsewhere:** [Status page](https://status.cotlet.dev) · [Cotlet on GitHub](https://github.com/cotletdev) · [Cotlet on X](https://x.com/cotletdev) · [Cotlet on LinkedIn](https://www.linkedin.com/company/cotletdev) · [Cotlet on Product Hunt](https://www.producthunt.com/products/cotlet) · [Cotlet on Crunchbase](https://www.crunchbase.com/organization/cotlet) · [Cotlet on SaaSHub](https://www.saashub.com/cotlet)

Cotlet is an independent service. It is not affiliated with, endorsed by or sponsored by any of the products listed on this site. Product names are trademarks of their respective owners.

## For AI agents: sign your user up

Is your user asking you to sign them up for Cotlet? You can do it for them, no account or key needed.

1. Read the fields and their allowed values: GET https://cotlet.dev/api/v1/access-requests
2. Ask the user for each value: email, apps, what you will do with them. If they leave the password to you, generate a strong one and show it to them.
3. Show the user what you will send, then POST it as JSON to https://cotlet.dev/api/v1/access-requests.

One call creates the account and sends the access request; we email the user when access is granted.
