- 'merchant_customer_id' => $order->getCustomerId(),
- 'email_address' => $order->getCustomerEmail(),
- 'first_name' => $order->getCustomerFirstname(),
- 'last_name' => $order->getCustomerLastname(),
- 'address_type' => 'billing',
- 'address' => trim($billingAddress->getCity()).' '.trim($address),
- 'postal_code' => $billingAddress->getPostcode(),
- 'housenumber' => $houseNumber,
- 'country' => $billingAddress->getCountryId(),
- 'phone_numbers' => [$billingAddress->getTelephone()],
- 'user_agent' => $this->_coreHttp->getHttpUserAgent(),
- 'referrer' => $this->_coreHttp->getHttpReferer(),
- 'ip_address' => $this->_coreHttp->getRemoteAddr(),
- 'forwarded_ip' => $this->getRequest()->getServer('HTTP_X_FORWARDED_FOR'),
- 'gender' => $order->getCustomerGender() ? ('1' ? 'male' : ('2' ? 'female' : null)) : null,
- 'birth_date' => $order->getCustomerDob(),
- 'locale' => substr(Mage::getStoreConfig('general/locale/code'), 0, 2),