New in Chargebee: Explore Reveal and understand your payment performance end-to-end.Try Now
Docschargebee docs
HomeBillingCPQPaymentsRevRecGrowthReveal
Support

Product Updates


  • Release Notes

Getting Started


  • Overview
  • Chargebee Billing Data Centers
  • Object Relationship Model
  • Understanding Sites
  • Developer Resources
  • Chargebee Tech Glossary
  • Articles and FAQ

Implementing Chargebee


  • Implementation Guide
  • Go-live Checklist
  • Articles and FAQ

Agentic AI


  • Chargebee Copilot
  • MCP Servers

Product Catalog


  • Product Catalog Overview
  • Coupons
  • Articles and FAQ

Subscriptions


  • Working with Subscriptions
  • Billing
  • Orders
  • Articles and FAQ

Customers


  • Managing Customers
  • Account Hierarchy
  • Email Notifications
  • Branding
  • Configure Multiple Languages
  • Articles and FAQ

Invoices and Credit Notes


  • Invoices
  • Credit Notes
  • Quotes [Legacy]
  • Transactions
  • Articles and FAQ

Taxes


  • Overview
  • Configuring Taxes
  • Country-specific Taxes
  • Articles and FAQ

Hosted Capabilities


  • Overview
  • Hosted Checkout
  • Hosted Self-Serve Portal
  • Hosted Pages Features
  • Additional Hosted Pages
  • Payment Components
  • Managing payments with ChargebeeJS
  • Mobile-Optimized Hosted Pages
  • Articles and FAQ

Site Configuration


  • Users & Roles
  • Custom Fields & Metadata
  • Mandatory Fields
  • File Attachments & Comments
  • Advanced Filter Options
  • Multicurrency Pricing
  • Multi-decimal Support
  • Configuring Reason Codes
  • Events and Webhooks
  • API Keys
  • Time Zone
  • Time Machine
  • Transfer Configurations
  • Articles and FAQ

Reports and Analytics


  • RevenueStory
  • Home Dashboard
  • Frequently Asked Questions
  • FAQs for Classic Reports Sunset
  • Articles and FAQ

Integrations


  • Sales
  • Customer Support and Success
  • Finance
  • Tax
  • Marketing
  • Stitch
  • Collaboration
  • Contract Management
  • Order Management
  • Mobile Subscriptions (Legacy)
  • Other Integrations
  • Articles and FAQ

Data Privacy & Security


  • Two Factor Authentication
  • SAML Single Sign-On
  • System for Cross-Domain Identity Management (SCIM)
  • EU-GDPR
  • Consent Management
  • Personal Data Management
  • Compliance Certificates
  • HIPAA Guidelines
  • PCI Recommendations and Integration Types
  • Articles and FAQ

Data Operations


  • Bulk Operations
  • Migration
  • Articles and FAQ
  1. Billing
  2. Subscriptions
  3. Articles and FAQ
  4. Subscriptions Items
  1. Billing
  2. Subscriptions
  3. Articles and FAQ
  4. Subscriptions Items

How to remove addons from a subscription in the Latest Product Catalog?

Problem Statement

You want to know how to remove addons from a subscription via API in the Latest Product Catalog.

Solution

The addon can be removed directly from the UI from the individual subscription level, or via Update Subscription for items API or Bulk Operation.

UI Approach

The addon can be removed directly from the individual subscription level:

  1. Navigate to the Subscription.
  2. Click Edit Subscription.
  3. Click the ellipsis icon against the addon you wish to remove.
  4. Select Remove.
image

Note

This action is only available at the individual subscription level. There is no native bulk operation to remove addons in bulk from the UI.

API Solution

You need to call the Update subscription for items API call

https://apidocs.chargebee.com/docs/api/subscriptions#update_subscription_for_items

You need to pass "subscription_items[item_price_id]" and "replace_items_list" parameters.

When we set "replace_items_list" to true, and do not pass any other parameter, it ideally removes all the addons attached to the plan.

For example, if a subscription has 2 addons, and when replace_items_list=true and no other subscription items are passed, it removes both addons.

image
image

Both of the above addons are removed from the subscription.

If replace_items_list=false and if any subscription items are passed, then it adds the addon.

image
image

If a subscription has 2 or more addons, and if you want to remove one addon, then you need to pass replace_items_list=true and pass addon item price id as subscription_items[item_price_id][1] which needs to be retained.

For example, a subscription has the following 3 addons:

image

The addon that needs to be removed is non-shippable USD Monthly, so the API call would be as below:

image
image

Hence, if the subscription has 2 addons and you want to remove 1 addon, you would need to just pass the addon that you need to retain and define the replace_items_list parameter as "true".

Bulk Operation Approach

The above API approach can also be executed via Chargebee's Bulk Operation feature.

Step 1: Filter the Subscription List

  1. Navigate to Subscriptions > Filter List > Recurring Addons > Contains Only > select the addon > Add > Apply Filter.
  2. Click Export and download the list as a CSV.

Step 2: Download the Sample CSV for Bulk Operation

Navigate to Settings > Configure Chargebee > Import & Export Data > Choose a Bulk Operation > Subscriptions > Update Subscription for Items.

Step 3: Edit the Sample CSV

Use the Subscription IDs exported in Step 1 as input. In the CSV, pass the following:

  • replace_items_list = true
  • subscription_items[item_price_id] = the Item Price ID(s) of the addon(s) to be retained

Note

The existing plan and any mandatory addons are always preserved. Mandatory addons are removed only if explicitly listed under mandatory_items_to_remove.

Step 4: Upload the CSV

Drag and drop the edited CSV into the web interface, or use the upload option to execute the Bulk Operation.

Note

Test this operation on your test site before executing it on the live site.

Related Articles

How do I index into tiers and retrieve tier prices (subscription.item_tiers not working
Why am I not able to find the existing plan price point in the list of plans while changing a subscription in my Latest Product Catalog site?
Can I configure multiple plans under one Subscribe button?

Was this article helpful?