diff --git a/zoop_wrapper/wrapper/buyer.py b/zoop_wrapper/wrapper/buyer.py index 8a1d3f9a..b1ead5ae 100644 --- a/zoop_wrapper/wrapper/buyer.py +++ b/zoop_wrapper/wrapper/buyer.py @@ -94,7 +94,9 @@ def search_buyer(self, identifier: str) -> ZoopResponse: Returns: :class:`.ZoopResponse` """ - url = self._construct_url(action="buyers", search=f"taxpayer_id={identifier}") + url = self._construct_url( + action="buyers/search", search=f"taxpayer_id={identifier}" + ) return self._get(url) def update_buyer(self, identifier: str, data: Union[dict, Buyer]) -> ZoopResponse: