diff --git a/Model/Api/Customer.php b/Model/Api/Customer.php index 79c7ab62..6a22ad77 100644 --- a/Model/Api/Customer.php +++ b/Model/Api/Customer.php @@ -234,7 +234,7 @@ protected function _buildCustomerData(\Magento\Customer\Model\Customer $customer * @var $country \Magento\Directory\Model\Country */ $country = $this->_countryFactory->create()->loadByCode($address->getCountryId()); - $customerAddress["country"] = $country->getName('en_US'); + $customerAddress["country"] = preg_replace('/\&/', 'and',$country->getName('en_US')); $customerAddress["country_code"] = $address->getCountryId(); } if (count($customerAddress)) {