- '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,
- // "male", "female", "other", null
- 'birth_date' => $order->getCustomerDob(),
- // Date (ISO 8601 / RFC 3339)
- 'locale' => Mage::app()->getLocale()->getLocaleCode(),
- // "^[a-zA-Z]{2}(_[a-zA-Z]{2})?$"