Get/search Customer by email in API v3 and API pagination

I’m trying to retrieve a E-commerce Customer by his ‘contact’ email. Using the email query string in the ecomCustomer API i still get the customers entire list. Or there is a way to get the e-commerce customer by a ‘contact’ id instead?

Another thing i want to know is how to paginate in the v3 API, i’ve got 5 thousands customers, but it shows only some in the ‘list Customers’ API, is it a page system?

Thanks!

1 Like

We create a contact when the ecommerce customer record is created, so the email addresses should be the same (for contact and customer). So fetching a customer by their contact email should work. Example below:

api/3/ecomCustomers?filters[email]=test@test.com

Regarding pagination, we do have a page system that is detailed here: https://developers.activecampaign.com/reference#pagination.

Hope that helps!

2 Likes