api-client-python/README.md
2016-03-17 00:54:42 +03:00

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)

Documentation