Searching deals for the value of a *specific* custom_field

Options
msarsale
msarsale Member Posts: 15
5 Up Votes Name Dropper First Comment

I would like to search deals using the API by the value of a *specific* custom field.

I know can add 'custom_fields' in the 'field' parameter, but I don't want to find in ANY custom_field, but specifically in one.

https://developers.pipedrive.com/docs/api/v1/Deals#searchDeals

Any hints?

Answers

  • Manuel Oliveira
    Manuel Oliveira Admin Posts: 1,135 COMMUNITY MANAGER
    5 Likes First Answer First Anniversary First Comment
    Options

    Hi @msarsale if you haven't tried it yet, I recommend the same approach that's mentioned in this thread using a filter in your API call

  • msarsale
    msarsale Member Posts: 15
    5 Up Votes Name Dropper First Comment
    Options

    Thanks but that won't work: I need to filter for different values; I'm retrieving everything that matches and then filtering with code looking for that value in the desired custom_field