mirror of
https://github.com/retailcrm/api-client-python.git
synced 2024-11-22 04:56:04 +03:00
497 B
497 B
retailCRM API python client
Install
pip install retailcrm
Usage
import retailcrm
client = retailcrm.Client('https://demo.intarocrm.ru', 'uLxXKBwjQteE9NkO3cJAqTXNwvKktaTc')
order = {
'firstName': 'Ivan',
'lastName': 'Ivanov',
'phone': '+79000000000',
'email': 'ivan@example.com',
'orderMethod': 'call-request',
}
result = crm.orders_create(order)