From dce3f20f818c56f444de6001ddf3fe5a7e4a939f Mon Sep 17 00:00:00 2001 From: Tyler Matteson Date: Sun, 23 Jan 2022 19:12:15 -0500 Subject: [PATCH] fix: add return value ShipStation class' 'post' method (#22) --- shipstation/api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shipstation/api.py b/shipstation/api.py index b970f47..c0ba03e 100644 --- a/shipstation/api.py +++ b/shipstation/api.py @@ -415,6 +415,8 @@ def post(self, endpoint="", data=None): if self.debug: pprint.PrettyPrinter(indent=4).pprint(r.json()) + return r + def fetch_orders(self, parameters={}): """ Query, fetch, and return existing orders from ShipStation