Answer the question
In order to leave comments, you need to log in
ApiAmoCRM. How to get the quantity of the same item?
Hello! A question. I can see in the transaction that the client bought 2-3 identical goods. But when I make a request to AmoCRM to get all transactions, and in each transaction, only a list of goods (catalog_elements) is returned to me, but the quantity is not returned. How can I get the quantity of each item?
Answer the question
In order to leave comments, you need to log in
Request:
GET https://<СУБДОМЕН>.amocrm.ru/ajax/v1/links/list?links[0][from]=leads&links[0][from_id]=<ID СДЕЛКИ>&links[0][to]=catalog_elements&links[0][from_catalog_id]=2&links[0][to_catalog_id]=<ID КАТАЛОГА>&USER_LOGIN=<ЛОГИН>&USER_HASH=<API ключ>
https://example.amocrm.ru/api/v2/leads?with=catalog_elements_links
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question