How to filter the list the plans in cancelled state by source?

Modified on: Thu, 30 Jun, 2022 at 8:40 AM


Filtering canceled plans by source

List of cancelled plans by source via API


Event logs of your customers and subscriptions can be found in the Events section. You can filter cancelled subscriptions by a source under the Events Index Page. You can also achieve this using API.


Chargebee UI:

Navigate from  UI under Logs > Events then 

  1. Add filter as Event Type > Subscription Cancelled

  2. Add another Filter as Source > Choose a Source or a list of sources, you want to filter and you can get the results respectively.


You can retrieve a list of events using the List Events API. Choose the Product Catalog version of your site to use the fetch the relevant API. 

Note: Only events that are less than 90 days old will be retrieved

Event parameter:

event_type[is]= "subscription_cancelled"

For multiple events:

Supported operators : is, is_not, in, not_in

event_type[in]="["subscription_cancelled", “subscription_cancellation_scheduled”]"

Source Parameter:

source[is] = "admin_console"

Possible values are : admin_console, api, scheduled_job, hosted_page, portal, system, none, js_api, migration, bulk_operation, external_service.

Supported operators : is, is_not, in, not_in

Related Articles:

Can I filter events for a specific customer using API?

How to find which team member performed a certain activity on the Chargebee app?

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.