Search deals by status

With the deprecation of “find by” for deals and other known areas. I used to be able to pass status=open and it would only list deals that were only open. Will there be a way to search by status that are only open etc?

Thank you,
Ben

Hi Benjamin,

You could try using a Filter to achieve these types of Deals.
Something with conditions like:

"conditions": {

* "glue": "and",
* "conditions": [
  * {
    * "glue": "and",
    * "conditions": [ ]},
  * {
    * "glue": "or",
    * "conditions": [
      * {
        * "object": "deal",
        * "field_id": "12458",
        * "operator": "=",
        * "value": "open",
        * "extra_value": null
               }
          ]
      }
]

But we will be adding this behaviour back to the Search endpoints, no ETA right now.

1 Like

Hey Benjamin,

Just wanted to let you know that status=won/lost/open has been added to GET /deals/search so you can now use that.

2 Likes