Docs

Site Configuration Articles & FAQ

event, filter, api, customer, id, list, status, type, webhook, retrieve, occur

Can I filter events for a specific customer using API?

In Chargebee, you can use the List events API to retrieve events. You can also use the web interface

461783

2020-07-20T07:49:21Z

2024-04-30T05:54:17Z

354

1

0

247154

Can I filter events for a specific customer using API?

Can I filter events for a specific customer using API? 

This article covers 

How to check the last pending customer events using API?

Can I use List events API to filter the events using customer id?

Summary

In Chargebee, you can use the List events API to retrieve events. You can also use the web interface to filter events.

The list events API can be used to retrieve events and can support the following filter only,

  • event_type

  • event_id

  • webhook_status and

  • occured_at

Warning: 
1. To filter using the customer_id is not supported via API. However, you can filter events using the customer_id from the Chargebee's admin console.
2. Events older than 90 days will not be visible in the UI.
Note:
1. You can also verify the status of the latest webhook events by navigating to the specific customer record > scroll down > click the Events tab. 

To fetch event details using a specific customer Id

Go to Chargebee Dashboard

Events

Click on Filter list to Add Filter

Select Customer Id

Equals

Enter the customer Id

Click on Apply FIlter

You can add more than 1 filter if required.

Was this article helpful?
Loading…