Answer the question
In order to leave comments, you need to log in
How to get transaction ID by phone number and transaction direction?
How to get transaction ID by phone number and transaction direction?
Let's say there is a deal, we need to find out the deal ID by phone number or other fields.
Documentation https://dev.1c-bitrix.ru/rest_help/crm/cdeals
Answer the question
In order to leave comments, you need to log in
Pass the required fields to the crm.deal.list method filter .
As a result, you will be returned a list of objects that satisfy the filter, if you are sure that only one deal will be suitable for the number + direction fields, then just take the first object from the list, but consider the option if several are returned
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question