UpdateWarehouse

Endpoint URL https://www.yournetosite.com.au/do/WS/NetoAPI
Method POST
XML Headers
NETOAPI_ACTION UpdateWarehouse
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 UpdateWarehouse
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 add a new warehouse. You can store stock in multiple warehouses with Neto by Maropost.
XSD Schema UpdateWarehouse XSD   |   UpdateWarehouse Response XSD

UpdateWarehouse Post

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

XML POST

<?xml version="1.0" encoding="utf-8"?>
<UpdateWarehouse>
   <Warehouse> 
    <WarehouseID>(Integer)</WarehouseID>    
    <WarehouseReference>(String)</WarehouseReference>    
    <IsActive>(Boolean)</IsActive>    
    <ShowQuantity>(Boolean)</ShowQuantity>    
    <IsPrimary>(Boolean)</IsPrimary>    
    <WarehouseName>(String)</WarehouseName>    
    <WarehouseContact>(String)</WarehouseContact>    
    <WarehousePhone>(String)</WarehousePhone>    
    <WarehouseStreet1>(String)</WarehouseStreet1>    
    <WarehouseStreet2>(String)</WarehouseStreet2>    
    <WarehousePostcode>(String)</WarehousePostcode>    
    <WarehouseCity>(String)</WarehouseCity>    
    <WarehouseState>(String)</WarehouseState>    
    <WarehouseCountry>(String)</WarehouseCountry>    
    <WarehouseNotes>(String)</WarehouseNotes>    
   </Warehouse>  

</UpdateWarehouse>

JSON POST

{
  "Warehouse": [ {
    "WarehouseID":"Integer",
    "WarehouseReference":"String",
    "IsActive":"Boolean",
    "ShowQuantity":"Boolean",
    "IsPrimary":"Boolean",
    "WarehouseName":"String",
    "WarehouseContact":"String",
    "WarehousePhone":"String",
    "WarehouseStreet1":"String",
    "WarehouseStreet2":"String",
    "WarehousePostcode":"String",
    "WarehouseCity":"String",
    "WarehouseState":"String",
    "WarehouseCountry":"String",
    "WarehouseNotes":"String" 
} ] 
}

<Warehouse>

Element Name Required Field Type / Options
WarehouseID Required Integer
WarehouseReference Optional String(10)
IsActive Optional Boolean(True, False)
ShowQuantity Optional Boolean(True, False)
IsPrimary Required Boolean(True, False)
WarehouseName Optional String(30)
WarehouseContact Optional String(25)
WarehousePhone Optional String(30)
WarehouseStreet1 Optional String(50)
WarehouseStreet2 Optional String(50)
WarehousePostcode Optional String(15)
WarehouseCity Optional String(50)
WarehouseState Optional String(50)
WarehouseCountry Optional String(50)
WarehouseNotes Optional String(255)

UpdateWarehouse Responses

XML Response

<?xml version="1.0" encoding="utf-8"?>
<UpdateWarehouse>
   <Warehouse> 
    <WarehouseID>(Integer)</WarehouseID>    
   </Warehouse>  
   <Messages> 
     <Error> 
      <Message>(String)</Message>      
      <SeverityCode>(String)</SeverityCode>      
      <Description>(String)</Description>      
     </Error>    
     <Warning> 
      <Message>(String)</Message>      
      <SeverityCode>(String)</SeverityCode>      
     </Warning>    
   </Messages>
</UpdateWarehouse>

JSON Response

{
  "Warehouse": [ {
    "WarehouseID":"Integer" 
} ] ,  "Messages": {
    "Error": [ {
      "Message":"String",
      "SeverityCode":"String",
      "Description":"String" 
} ] ,    "Warning": [ {
      "Message":"String",
      "SeverityCode":"String" 
} ]  
} 
}

<Warehouse>

Element Name Field Type
WarehouseID Integer

<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.