1. Define the smart collection
Filterable fields are flagged usingisFilterable: true. You will need to enable this option using the collection settings in the Layout Editor.
Customers have isSearchable flag enabled: it means the search input field will be activated on the collection UI.
2. Implement the route
The Customers routes implement the Get List and Get One, plus the smart relationships (HasMany):- Funding Sources
- Transfers