diff --git a/activecampaign/deepdataintegrations.py b/activecampaign/deepdataintegrations.py index 5c75b9f..186e2c8 100644 --- a/activecampaign/deepdataintegrations.py +++ b/activecampaign/deepdataintegrations.py @@ -55,8 +55,8 @@ def delete_a_connection(self, connection_id): """ return self.client._delete("/connections/{}".format(connection_id)) - def list_all_connections(self): - raise NotImplementedError + def list_all_connections(self, **params): + return self.client._get("/connections", params=params) def create_an_ecommerce_customer(self, data): """ @@ -111,8 +111,8 @@ def delete_an_ecommerce_customer(self, customer_id): """ return self.client._delete("/ecomCustomers/{}".format(customer_id)) - def list_all_ecommerce_customer(self): - raise NotImplementedError + def list_all_ecommerce_customers(self, **params): + return self.client._get("/ecomCustomers", params=params) def create_an_ecommerce_order(self, data): """ @@ -153,8 +153,8 @@ def delete_an_ecommerce_order(self, order_id): """ return self.client._delete("/ecomOrders/{}".format(order_id)) - def list_all_ecommerce_orders(self): - raise NotImplementedError + def list_all_ecommerce_orders(self, **params): + return self.client._get("/ecomOrders", params=params) def update_an_ecommerce_order(self, order_id, data): """