search_for_related_items does not return leads

Francois Lecroart
edited July 18 in Sales CRM #1

I'm trying to search all people and related leads by email.

GET /itemSearch  { term: "[email protected]", item_types: ['person', 'lead'], fields: 'email', search_for_related_items: true });

Searching for a "lead" item type will return only lead that is not attached to a person. But by using search_for_related_items I should get related lead when finding a person, right ?

 

Tagged:

Comments