API3
frankebailey at June 18th, 2018 10:38 — #1
Can someone possibly help me with the correct syntax to search the /companies endpoint by both company name and also the value of a custom company field, in this case "account"?
The syntax I've tried is
https://app.onepagecrm.com/api/v3/companies.json?name=Abacus&custom_field_id=5a84378eaa76201c7928ed16&custom_field_value=ABA002
which doesn't work, because it returns both the companies that match the name instead of only returning the one with the account no ABA002.
Do I need to use different parameters, or make some other change? Is what I'm trying to do even possible?
Thanks in advance!
kevin at June 22nd, 2018 04:15 — #2
Hi FrankEBailey,
We currently do not support searching companies by custom company fields. I will bring this up with the team to see if this is a feature we can add in the future. I will get back to you here if we do add this feature.
Thank you for your suggestion,
Kevin
Powered by Discourse, best viewed with JavaScript enabled