Filter Data using Association in Custom Object

Hello,

I have created custom object for Pets, I am associating contact to Pet. I am able to get all pet detail using crm_objects but I want to get pets which associated to specific contact by email. So it’s something like get pets where associated-contact-email = “specific-email”

How can I do this using HubL in custom module?

Hey, @RikenPrajapati The HubL function crm_associations requires a record ID. You’ll either need to make a separate call to get the Contact’s record ID from the email address, or look at another approach to accomplish your goal.

Best,

Jaycee