Mar 12, 20229:34 AM - edited Mar 12, 202212:41 PM
Participant
How is the deal search api supposed to work?
SOLVE
Hi, I am having trouble understanding this endpoint.
/crm/v3/objects/deals/search
I don't understand why I'm getting a result back, but the results array is blank!!?
Below is a screenshot from my Insomnia client (I've removed the API key after the request).
Can someone please help!!
For more context, I am trying to replicate the v1 API i.e. /deals/v1/deal/{dealId}
This works fine and returns the expected results. I am assuming the above v3 API is supposed the equivalent of this? If not, please point me in the right direction 🙂
(BTW, I also tried the /crm/v3/objects/deals{dealId} endpoint but this only returns a tiny subset of the properties!)
Seems like you forgot to send the limit, it is set to 0, set it to greater than zero for example 10 or 100, or according to your needs. , You can see in response total is 1 but it is not showing because you set the limit as 0
Hope this helps!
If we were able to answer your query, kindly help the community by marking it as a solution. Thanks and Regards.
Seems like you forgot to send the limit, it is set to 0, set it to greater than zero for example 10 or 100, or according to your needs. , You can see in response total is 1 but it is not showing because you set the limit as 0
Hope this helps!
If we were able to answer your query, kindly help the community by marking it as a solution. Thanks and Regards.
Thank you so much for coming back so quickly on this. I can confirm its working as I expected it to now 🙂
Just a quick question, where in the documentation can I find what these API fields mean and how they should be used? I'm sure this will be one of many integrations we do and it would be very helpful if either myself or the team could figure things out ourselves