I’m trying to fetch all Customer
objects, and for each one, I need the email of the Primary Contact (which is a reference to another object).
Is there a way to do this in one API call? Or do I have to get the PrimaryContact key first, then do another request to fetch their email?
I know the aql/objects
endpoint lets you do includeAttributesDeep=true
, which gives you the referenced data — but it also dumps all the attributes, which I don’t want. I just need the email.
Here’s what I’m using right now:
(Image above have been simplified from the original request for clarity.)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.