I
I
Ichi Nya2021-02-26 07:31:34
Bitrix24
Ichi Nya, 2021-02-26 07:31:34

How to find transactions for a contact in Bitrix?

There is a contact, or rather its ID. You need to find deals for this contact.

I try crm.deal.list, with the request:

$post = array(
  'filter' => array('CONTACT_ID' => 3),
);

But a problem arises if two contacts are attached to the deal, and the right one is attached to the second one. As a result, no transactions were found. I found in the documentation that you need to use CONTACT_IDS, but how to make a selection is not written.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikolaev, 2021-02-26
@Ichi

First, deals are obtained using the crm.deal.list method . What you specified (crm.lead.list) is Leads.
Secondly, alas, in the cloud version you can’t search like that, only by primary contact.
And the CONTACT_IDS field does exist, but it is larger in the box and is not used for all methods.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question