Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Изменение нескольких сделок за раз (массивом) #43

Open
tit opened this issue Sep 10, 2018 · 1 comment

Comments

@tit
Copy link

tit commented Sep 10, 2018

Мне нужно изменить несколько сделок (или создать несколько задач).

lead_1 = Amorail::Lead.find 1
# some modifications
lead.save

lead_2 = Amorail::Lead.find 2
# some modifications
lead.save

В данном примере будет два (два же?) запроса к AmoCRM API.
Можно ли данные запросы объединить в один?
AmoCRM API поддерживает мультиизменение в одном запросе.
Поддерживает ли сие Amorail?

@palkan
Copy link
Contributor

palkan commented Sep 10, 2018

AmoCRM API поддерживает мультиизменение в одном запросе.
Поддерживает ли сие Amorail?

Нет. Pull Request приветствуется)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants