Customer trevenque

Structure

FieldTypeRequiredDescription
accountingAccountString
Accounting account.
addressString

cityNameString

codeString

CountryCountry

customerPaymentCustomerPayment
TODO:Reservado
customerTypeCustomerType

documentDocument

eMailString

givenNameString

middleNameString

namePrefixString

phoneNumberString

postalCodeString

stateCountry
Reservado
surnameString

surname2String

JSON representation

{
 "accountingAccount" : "",
      "address" : "Calle Ventura,28",
      "cityName" : "Valencia",
      "code" : 16822,
      "country" : {
        "name" : "SPAIN",
        "codeISO2" : "ES"
      },
      "customerPayment" : null,
      "customerType" : {
        "code" : "1",
        "name" : "Customer"
      },
      "document" : {
        "number" : "X205061A0H",
        "documentType" : {
          "code" : "00",
          "name" : "Spanish Id Document"
        }
      },
      "givenName" : "MARIA TERESA",
      "middleName" : null,
      "namePrefix" : null,
      "phoneNumber" : "+34 999999",
      "postalCode" : "",
      "state" : null,
      "surname" : "GARCIA",
      "surname2" : "GARCIA",
      "email" : "maria@test.com"
}