diff --git a/fulfil_client/client.py b/fulfil_client/client.py
index <HASH>..<HASH> 100755
--- a/fulfil_client/client.py
+++ b/fulfil_client/client.py
@@ -86,7 +86,11 @@ class Client(object):
                  user_agent="Python Client"):
         self.subdomain = subdomain
 
-        self.host = 'https://%s.fulfil.io' % self.subdomain
+        if self.subdomain == 'localhost':
+            self.host = 'http://localhost:8000'
+        else:
+            self.host = 'https://%s.fulfil.io' % self.subdomain
+
         self.base_url = '%s/api/v1' % self.host
 
         self.session = requests.Session()
Connect client to localhost when subdomain is localhost

Rather than connecting to <URL>