AddWarehouse

Endpoint URL https://www.yournetosite.com.au/do/WS/NetoAPI
Method POST
XML Headers
NETOAPI_ACTION AddWarehouse
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 AddWarehouse
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 Maropost Commerce Cloud.
XSD Schema AddWarehouse XSD   |   AddWarehouse Response XSD

AddWarehouse Post

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

XML POST

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

</AddWarehouse>

JSON POST

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

<Warehouse>

Element Name Required Field Type / Options
WarehouseReference Required 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)
WarehouseStreet1 Optional String(50)
WarehouseStreet2 Optional String(50)
WarehousePostcode Optional String(15)
WarehousePhone Optional String(30)
WarehouseCity Optional String(50)
WarehouseState Optional String(50)
WarehouseCountry Optional String(50)
WarehouseNotes Optional String(255)

AddWarehouse Responses

XML Response

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

JSON Response

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

<Warehouse>

Element Name Field Type
WarehouseID Integer
WarehouseReference 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 Maropost Commerce Cloud, we would like to hear from you!

Contact Us

Was this article useful?

Be notified when this page is updated. Optional.