UpdateCustomer

Endpoint URL https://www.yournetosite.com.au/do/WS/NetoAPI
Method POST
XML Headers
NETOAPI_ACTION UpdateCustomer
NETOAPI_USERNAME Your Neto Username (generate this in your Neto control panel)
NETOAPI_KEY Your Neto API Secure Key (generate this in your Neto control panel)
JSON Headers
NETOAPI_ACTION UpdateCustomer
NETOAPI_USERNAME Your Neto Username (generate this in your Neto control panel)
NETOAPI_KEY Your Neto API Secure Key (generate this in your Neto control panel)
Accept application/json
Description Use this call to update a customer.
XSD Schema UpdateCustomer XSD   |   UpdateCustomer Response XSD

UpdateCustomer Post

You must specify at least one filter and one OutputSelector in your UpdateCustomer request. These will determine the results returned.

XML POST

<?xml version="1.0" encoding="utf-8"?>
<UpdateCustomer>
   <Customer> 
    <Username>(String)</Username>    
    <Type></Type>    
    <Password>(String)</Password>    
    <EmailAddress>(String)</EmailAddress>    
    <SecondaryEmailAddress>(String)</SecondaryEmailAddress>    
    <NewsletterSubscriber>(Boolean)</NewsletterSubscriber>    
    <ParentUsername>(String)</ParentUsername>    
    <ApprovalUsername>(String)</ApprovalUsername>    
    <ReferralUsername>(String)</ReferralUsername>    
    <ReferralCommission>(Decimal)</ReferralCommission>    
    <Gender></Gender>    
    <DateOfBirth>(DateTime)</DateOfBirth>    
    <IdentificationType>(String)</IdentificationType>    
    <IdentificationDetails>(String)</IdentificationDetails>    
    <DefaultDiscounts>(Decimal)</DefaultDiscounts>    
    <DefaultDocumentTemplate>(String)</DefaultDocumentTemplate>    
    <InternalNotes>(String)</InternalNotes>    
    <ABN>(String)</ABN>    
    <WebsiteURL>(String)</WebsiteURL>    
    <CreditLimit>(Decimal)</CreditLimit>    
    <DefaultInvoiceTerms>(String)</DefaultInvoiceTerms>    
    <Classification1>(String)</Classification1>    
    <Classification2>(String)</Classification2>    
    <SalesChannel>(String)</SalesChannel>    
    <Active>(Boolean)</Active>    
    <OnCreditHold>(Boolean)</OnCreditHold>    
    <UserGroup>(String)</UserGroup>    
    <AccountManager>(String)</AccountManager>    
    <DefaultOrderType></DefaultOrderType>    
    <UserCustom1>(String)</UserCustom1>    
    <UserCustom2>(String)</UserCustom2>    
    <UserCustom3>(String)</UserCustom3>    
    <UserCustom4>(String)</UserCustom4>    
    <UserCustom5>(String)</UserCustom5>    
    <UserCustom6>(String)</UserCustom6>    
    <UserCustom7>(String)</UserCustom7>    
    <UserCustom8>(String)</UserCustom8>    
    <UserCustom9>(String)</UserCustom9>    
    <UserCustom10>(String)</UserCustom10>    
    <UserCustom11>(String)</UserCustom11>    
    <UserCustom12>(String)</UserCustom12>    
    <UserCustom13>(String)</UserCustom13>    
    <UserCustom14>(String)</UserCustom14>    
    <UserCustom15>(String)</UserCustom15>    
    <UserCustom16>(String)</UserCustom16>    
    <UserCustom17>(String)</UserCustom17>    
    <UserCustom18>(String)</UserCustom18>    
    <UserCustom19>(String)</UserCustom19>    
    <UserCustom20>(String)</UserCustom20>    
    <UserCustom21>(String)</UserCustom21>    
    <UserCustom22>(String)</UserCustom22>    
    <UserCustom23>(String)</UserCustom23>    
    <UserCustom24>(String)</UserCustom24>    
    <UserCustom25>(String)</UserCustom25>    
    <UserCustom26>(String)</UserCustom26>    
    <UserCustom27>(String)</UserCustom27>    
    <UserCustom28>(String)</UserCustom28>    
    <UserCustom29>(String)</UserCustom29>    
    <UserCustom30>(String)</UserCustom30>    
    <UserCustom31>(String)</UserCustom31>    
    <UserCustom32>(String)</UserCustom32>    
    <UserCustom33>(String)</UserCustom33>    
    <UserCustom34>(String)</UserCustom34>    
    <UserCustom35>(String)</UserCustom35>    
    <UserCustom36>(String)</UserCustom36>    
    <UserCustom37>(String)</UserCustom37>    
    <UserCustom38>(String)</UserCustom38>    
    <UserCustom39>(String)</UserCustom39>    
    <UserCustom40>(String)</UserCustom40>    
    <UserCustom41>(String)</UserCustom41>    
    <UserCustom42>(String)</UserCustom42>    
    <UserCustom43>(String)</UserCustom43>    
    <UserCustom44>(String)</UserCustom44>    
    <UserCustom45>(String)</UserCustom45>    
    <UserCustom46>(String)</UserCustom46>    
    <UserCustom47>(String)</UserCustom47>    
    <UserCustom48>(String)</UserCustom48>    
    <UserCustom49>(String)</UserCustom49>    
    <UserCustom50>(String)</UserCustom50>    
     <BillingAddress> 
      <BillFirstName>(String)</BillFirstName>      
      <BillLastName>(String)</BillLastName>      
      <BillCompany>(String)</BillCompany>      
      <BillStreetLine1>(String)</BillStreetLine1>      
      <BillStreetLine2>(String)</BillStreetLine2>      
      <BillCity>(String)</BillCity>      
      <BillState>(String)</BillState>      
      <BillPostCode>(String)</BillPostCode>      
      <BillCountry>(String)</BillCountry>      
      <BillPhone>(String)</BillPhone>      
      <BillFax>(String)</BillFax>      
     </BillingAddress>     <ShippingAddress> 
      <ShipTitle>(String)</ShipTitle>      
      <ShipFirstName>(String)</ShipFirstName>      
      <ShipLastName>(String)</ShipLastName>      
      <ShipCompany>(String)</ShipCompany>      
      <ShipStreetLine1>(String)</ShipStreetLine1>      
      <ShipStreetLine2>(String)</ShipStreetLine2>      
      <ShipCity>(String)</ShipCity>      
      <ShipState>(String)</ShipState>      
      <ShipPostCode>(String)</ShipPostCode>      
      <ShipCountry>(String)</ShipCountry>      
      <ShipPhone>(String)</ShipPhone>      
      <ShipFax>(String)</ShipFax>      
     </ShippingAddress>   </Customer>  

</UpdateCustomer>

JSON POST

{
  "Customer": [ {
    "Username":"String",
    "Type":"Enumeration",
    "Password":"String",
    "EmailAddress":"String",
    "SecondaryEmailAddress":"String",
    "NewsletterSubscriber":"Boolean",
    "ParentUsername":"String",
    "ApprovalUsername":"String",
    "ReferralUsername":"String",
    "ReferralCommission":"Decimal",
    "Gender":"Enumeration",
    "DateOfBirth":"DateTime",
    "IdentificationType":"String",
    "IdentificationDetails":"String",
    "DefaultDiscounts":"Decimal",
    "DefaultDocumentTemplate":"String",
    "InternalNotes":"String",
    "ABN":"String",
    "WebsiteURL":"String",
    "CreditLimit":"Decimal",
    "DefaultInvoiceTerms":"String",
    "Classification1":"String",
    "Classification2":"String",
    "SalesChannel":"String",
    "Active":"Boolean",
    "OnCreditHold":"Boolean",
    "UserGroup":"String",
    "AccountManager":"String",
    "DefaultOrderType":"Enumeration",
    "UserCustom1":"String",
    "UserCustom2":"String",
    "UserCustom3":"String",
    "UserCustom4":"String",
    "UserCustom5":"String",
    "UserCustom6":"String",
    "UserCustom7":"String",
    "UserCustom8":"String",
    "UserCustom9":"String",
    "UserCustom10":"String",
    "UserCustom11":"String",
    "UserCustom12":"String",
    "UserCustom13":"String",
    "UserCustom14":"String",
    "UserCustom15":"String",
    "UserCustom16":"String",
    "UserCustom17":"String",
    "UserCustom18":"String",
    "UserCustom19":"String",
    "UserCustom20":"String",
    "UserCustom21":"String",
    "UserCustom22":"String",
    "UserCustom23":"String",
    "UserCustom24":"String",
    "UserCustom25":"String",
    "UserCustom26":"String",
    "UserCustom27":"String",
    "UserCustom28":"String",
    "UserCustom29":"String",
    "UserCustom30":"String",
    "UserCustom31":"String",
    "UserCustom32":"String",
    "UserCustom33":"String",
    "UserCustom34":"String",
    "UserCustom35":"String",
    "UserCustom36":"String",
    "UserCustom37":"String",
    "UserCustom38":"String",
    "UserCustom39":"String",
    "UserCustom40":"String",
    "UserCustom41":"String",
    "UserCustom42":"String",
    "UserCustom43":"String",
    "UserCustom44":"String",
    "UserCustom45":"String",
    "UserCustom46":"String",
    "UserCustom47":"String",
    "UserCustom48":"String",
    "UserCustom49":"String",
    "UserCustom50":"String",
    "BillingAddress": {
      "BillFirstName":"String",
      "BillLastName":"String",
      "BillCompany":"String",
      "BillStreetLine1":"String",
      "BillStreetLine2":"String",
      "BillCity":"String",
      "BillState":"String",
      "BillPostCode":"String",
      "BillCountry":"String",
      "BillPhone":"String",
      "BillFax":"String" 
} ,    "ShippingAddress": {
      "ShipTitle":"String",
      "ShipFirstName":"String",
      "ShipLastName":"String",
      "ShipCompany":"String",
      "ShipStreetLine1":"String",
      "ShipStreetLine2":"String",
      "ShipCity":"String",
      "ShipState":"String",
      "ShipPostCode":"String",
      "ShipCountry":"String",
      "ShipPhone":"String",
      "ShipFax":"String" 
}  
} ] 
}

<Customer>

Element Name Required Field Type / Options
Username Required String(25)
Type Optional Enumeration(Customer, Prospect)
Password Optional String(100)
EmailAddress Optional String(50)
SecondaryEmailAddress Optional String(50)
NewsletterSubscriber Optional Boolean(True, False)
ParentUsername Optional String(25)
ApprovalUsername Optional String(25)
ReferralUsername Optional String(25)
ReferralCommission Optional Decimal
Gender Optional Enumeration(male, female, unisex)
DateOfBirth Optional DateTime
IdentificationType Optional String(20)
IdentificationDetails Optional String(25)
DefaultDiscounts Optional Decimal
DefaultDocumentTemplate Optional String(50)
InternalNotes Optional String
ABN Optional String(255)
WebsiteURL Optional String(255)
CreditLimit Optional Decimal
DefaultInvoiceTerms Optional String(50)
Classification1 Optional String(20)
Classification2 Optional String(20)
SalesChannel Optional String(15)
Active Optional Boolean(True, False)
OnCreditHold Optional Boolean(True, False)
UserGroup Optional String(50)
AccountManager Optional String(25)
DefaultOrderType Optional Enumeration(dropshipping, sales)
UserCustom1 Optional String(255)
UserCustom2 Optional String(255)
UserCustom3 Optional String(255)
UserCustom4 Optional String(255)
UserCustom5 Optional String(255)
UserCustom6 Optional String(255)
UserCustom7 Optional String(255)
UserCustom8 Optional String(255)
UserCustom9 Optional String(255)
UserCustom10 Optional String(255)
UserCustom11 Optional String(255)
UserCustom12 Optional String(255)
UserCustom13 Optional String(255)
UserCustom14 Optional String(255)
UserCustom15 Optional String(255)
UserCustom16 Optional String(255)
UserCustom17 Optional String(255)
UserCustom18 Optional String(255)
UserCustom19 Optional String(255)
UserCustom20 Optional String(255)
UserCustom21 Optional String(255)
UserCustom22 Optional String(255)
UserCustom23 Optional String(255)
UserCustom24 Optional String(255)
UserCustom25 Optional String(255)
UserCustom26 Optional String(255)
UserCustom27 Optional String(255)
UserCustom28 Optional String(255)
UserCustom29 Optional String(255)
UserCustom30 Optional String(255)
UserCustom31 Optional String(255)
UserCustom32 Optional String(255)
UserCustom33 Optional String(255)
UserCustom34 Optional String(255)
UserCustom35 Optional String(255)
UserCustom36 Optional String(255)
UserCustom37 Optional String(255)
UserCustom38 Optional String(255)
UserCustom39 Optional String(255)
UserCustom40 Optional String(255)
UserCustom41 Optional String(255)
UserCustom42 Optional String(255)
UserCustom43 Optional String(255)
UserCustom44 Optional String(255)
UserCustom45 Optional String(255)
UserCustom46 Optional String(255)
UserCustom47 Optional String(255)
UserCustom48 Optional String(255)
UserCustom49 Optional String(255)
UserCustom50 Optional String(255)
BillingAddress Optional BillingAddressType
ShippingAddress Optional ShippingAddressType

<BillingAddress>

Element Name Required Field Type / Options
BillFirstName Optional String(50)
BillLastName Optional String(50)
BillCompany Optional String(50)
BillStreetLine1 Optional String(50)
BillStreetLine2 Optional String(50)
BillCity Optional String(50)
BillState Optional String(50)
BillPostCode Optional String(15)
BillCountry Optional String(2)
BillPhone Optional String(30)
BillFax Optional String(30)

<ShippingAddress>

Element Name Required Field Type / Options
ShipTitle Optional String(255)
ShipFirstName Optional String(50)
ShipLastName Optional String(50)
ShipCompany Optional String(50)
ShipStreetLine1 Optional String(50)
ShipStreetLine2 Optional String(50)
ShipCity Optional String(50)
ShipState Optional String(50)
ShipPostCode Optional String(15)
ShipCountry Optional String(2)
ShipPhone Optional String(30)
ShipFax Optional String(30)

UpdateCustomer Responses

XML Response

<?xml version="1.0" encoding="utf-8"?>
<UpdateCustomer>
   <Customer> 
    <Username>(String)</Username>    
   </Customer>  
   <Messages> 
     <Error> 
      <Message>(String)</Message>      
      <SeverityCode>(String)</SeverityCode>      
      <Description>(String)</Description>      
     </Error>    
     <Warning> 
      <Message>(String)</Message>      
      <SeverityCode>(String)</SeverityCode>      
     </Warning>    
   </Messages>
</UpdateCustomer>

JSON Response

{
  "Customer": [ {
    "Username":"String" 
} ] ,  "Messages": {
    "Error": [ {
      "Message":"String",
      "SeverityCode":"String",
      "Description":"String" 
} ] ,    "Warning": [ {
      "Message":"String",
      "SeverityCode":"String" 
} ]  
} 
}

<Customer>

Element Name Field Type
Username String

<Messages>

Element Name Field Type
Error ErrorType
Warning WarningType

<Error>

Element Name Field Type
Message String
SeverityCode String
Description String

<Warning>

Element Name Field Type
Message String
SeverityCode String

If you are a vendor creating an integration with Neto by Maropost, we would like to hear from you!

Contact Us

Was this article useful?

Be notified when this page is updated. Optional.