Contacts API: filter non-members
How do I access non-members using the Contacts API. I have already tried '&$filter=Member ne true' but that seems to just return a list of all the contacts including members that have a membership associated to their account.
-
wa commented
Try
$filter='Member' ne 'true' AND 'Suspended member' ne 'true'
If that doesn't get you the desired results, how about
$filter='MembershipLevel' eq NULL
It's pretty easy to play with the API on SwaggerHub, or using Postman, so the best advice is to experiment until you find something that returns what you want. I prefer Postman since it deals with large results much better than SwaggerHub, which will slow down and crash with large datasets.