pip install git+https://github.com/thewebcat/api-client-python.git
import retailcrm
client = retailcrm.Client('https://demo.intarocrm.ru', 'uLxXKBwjQteE9NkO3cJAqTXNwvKktaTc')
order = {
'firstName': 'Ivan',
'lastName': 'Ivanov',
'phone': '+79000000000',
'email': '[email protected]',
'orderMethod': 'call-request',
}
result = client.orders_create(order)