S
S
Sergey2021-05-27 15:07:48
1C-Bitrix
Sergey, 2021-05-27 15:07:48

How to filter by product ID using crm.deal.list in Bitrix24?

Good afternoon.

Tell me, is it possible or not to do filtering in Bitrix24 through crm.deal.list to do filtering by product ID?
I want to select all deals that have a specific product attached.

My approach is this, but it doesn't work:

$search_product3 = \App\CRest::call('crm.deal.list', [
        "order"  => [],
        "filter" => [
          "PRODUCT_ID" => $deal_for_id,
        ],
        "select" => "*", "PRODUCT_ID",
      ]
    );
    print_r($search_product3);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikolaev, 2021-05-28
@gromdron

Tell me, is it possible or not to filter in Bitrix24 through crm.deal.list to filter by product ID?

Due to the architectural capabilities of the product, it is impossible.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question