From 2399e0fc3b4634437ddb6147331863967d9103a4 Mon Sep 17 00:00:00 2001 From: Alex Hellier Date: Wed, 21 Aug 2019 11:32:00 +0100 Subject: [PATCH] Revert "DIRTY HACK TO MAKE ORDERS WORK ON v3" This reverts commit c71d4a68 --- bigcommerce/connection.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bigcommerce/connection.py b/bigcommerce/connection.py index 8c6df1d..a4f745a 100644 --- a/bigcommerce/connection.py +++ b/bigcommerce/connection.py @@ -55,10 +55,7 @@ def _run_method(self, method, url, data=None, query=None, headers=None): # Support v3 if self.api_path and 'v3' in self.api_path: - if url is 'orders': - self.api_path = self.api_path.replace('v3', 'v2') - else: - url = 'catalog/{}'.format(url) + url = 'catalog/{}'.format(url) # make full path if not given if url and url[:4] != "http":