mirror of
https://github.com/retailcrm/api-client-python.git
synced 2024-11-21 12:36:02 +03:00
Bug fix
client.customers_history (and all methods of client) doesn't has parameter filter. It has filters!
This commit is contained in:
parent
3582b077f4
commit
2c7061d8bf
@ -48,7 +48,7 @@ import retailcrm
|
||||
|
||||
client = retailcrm.v4('https://demo.retailcrm.pro', 'uLxXKBwjQteE9NkO3cJAqTXNwvKktaTc')
|
||||
|
||||
result = client.customers_history(filter={'sinceId': '1500', 'startDate': '2018-03-01'})
|
||||
result = client.customers_history(filters={'sinceId': '1500', 'startDate': '2018-03-01'})
|
||||
|
||||
print(result['pagination']['totalCount'])
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user