mirror of
https://github.com/retailcrm/api-client-python.git
synced 2024-11-22 13:06:03 +03:00
Update test.py
This commit is contained in:
parent
866659c5b7
commit
1ee23f40c9
16
test.py
16
test.py
@ -1,19 +1,11 @@
|
|||||||
from Intaro import IntaroApy
|
from Intaro import IntaroApy
|
||||||
|
|
||||||
# copy-one.ru
|
crm = IntaroApy('hhttps://demo.intarocrm.ru', 'uLxXKBwjQteE9NkO3cJAqTXNwvKktaTc')
|
||||||
crm = IntaroApy('https://copy-one.intarocrm.ru', 'Yogg9w7pxDW6sS3yESXljKpSueTJVURW')
|
|
||||||
|
|
||||||
# copy-galaxys5
|
|
||||||
#crm = IntaroApy('https://copy-one.intarocrm.ru', 'zpbJiKQEFEo9OlpEebM8OATs5t7dzgjB')
|
|
||||||
|
|
||||||
# Pulwin
|
|
||||||
#crm = IntaroApy('https://copy-one.intarocrm.ru', 'Lx2W5QRy6lQUotkaLd1cAXYRPIG4SdhR')
|
|
||||||
|
|
||||||
order = {
|
order = {
|
||||||
'firstName': 'TESTER',
|
'firstName': 'Intaro Test',
|
||||||
'phone': '89991119922',
|
'phone': '+79000000000',
|
||||||
'orderMethod': 'landing-page'
|
'orderMethod': 'landing-page'
|
||||||
}
|
}
|
||||||
|
|
||||||
result = crm.orderCreate(order)
|
result = crm.orderCreate(order)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user