Wie erhalte ich die Kundenadresse / Rechnungsadresse anhand der Kunden-ID? Folgendes habe ich bisher getan:
$customerId = $_POST["customer_id"];
$customer = $this->_customerRepository->getById($customerId);
$address = $this->_addressRepository->getByCustomerId($customerId);//error
$customer->getDefaultBilling();, gebe ich NULL zurück