code: def organizations_search(self, external_id=None, **kwargs):
          "https://developer.zendesk.com/rest_api/docs/core/organizations#search-organizations-by-external-id"
          api_path = "/api/v2/organizations/search.json"
          api_query = {}
          if "query" in kwargs.keys():
              api_query.update(kwargs["query"])
              del kwargs["query"]
          if external_id:
              api_query.update({
                  "external_id": external_id,
              })
          return self.call(api_path, query=api_query, **kwargsf organizations_search(self, external_id=None, **kwargs):
          "https://developer.zendesk.com/rest_api/docs/core/organizations#search-organizations-by-external-id"
          api_path = "/api/v2/organizations/search.json"
          api_query = {}
          if "query" in kwargs.keys():
              api_query.update(kwargs["query"])
              del kwargs["query"]
          if external_id:
              api_query.update({
                  "external_id": external_id,
              })
          return self.call(api_path, query=api_query, **kwargs)
docs: https://developer.zendesk.com/rest_api/docs/core/organizations#search-organizations-by-external-id