From 2c7061d8bf737f4f957756acc5d7c9dc441d7225 Mon Sep 17 00:00:00 2001 From: Dmitriy <36137274+YHx07@users.noreply.github.com> Date: Wed, 20 Apr 2022 23:17:44 +0300 Subject: [PATCH] Bug fix client.customers_history (and all methods of client) doesn't has parameter filter. It has filters! --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 10a51eb..f29b3a1 100644 --- a/README.md +++ b/README.md @@ -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']) ```