diff --git a/sendcloud/classes/shipping_methods.py b/sendcloud/classes/shipping_methods.py index 886ac07..dfbd419 100644 --- a/sendcloud/classes/shipping_methods.py +++ b/sendcloud/classes/shipping_methods.py @@ -3,7 +3,7 @@ class ShippingMethods(Client): - def get_shipping_methods(self): + def get_shipping_methods(self, query: dict = None): """ This endpoint will return the shipping methods that are associated with your default sender address. If you want to change that behaviour please provide @@ -14,7 +14,7 @@ def get_shipping_methods(self): url = sendcloud.BASE_URL + "shipping_methods" - response = self.get(url) + response = self.get(url, query) return response.json()