import Ivy from '@getivy/node-sdk';const client = new Ivy({ apiKey: process.env['IVY_API_KEY'], // This is the default and can be omitted});const response = await client.customers.search();console.log(response.count);
Search for customers you have previously created using filters, e.g. by email.
POST
/
api
/
service
/
customer
/
search
JavaScript
Copy
Ask AI
import Ivy from '@getivy/node-sdk';const client = new Ivy({ apiKey: process.env['IVY_API_KEY'], // This is the default and can be omitted});const response = await client.customers.search();console.log(response.count);