def METHOD_NAME(self):
    domains = self._get(
        "/1/product", {"service_name": "domain", "customer_name": self.domain}
    )
    LOGGER.debug("found domains %s", domains)
    for domain in domains["data"]:
        if domain["customer_name"] == self.domain:
            self.domain_id = domain["id"]
            break
    else:
        raise AuthenticationError(f"Domain {self.domain} not found")