POST warehousezones

Create/Update Warehouse Zones

Request Information

URI Parameters

None.

Body Parameters

The Warehouse Zones that you want to create.

Collection of WarehouseZoneUpdateModel
NameDescriptionTypeAdditional information
WarehouseZoneIDType The ID that you are using to perform this update WarehouseZoneIDTypeModel None.
WarehouseIDType The warehouse for this warehouse zone WarehouseIDTypeModel Required
Name The Warehouse Zone Name string None.

Request Formats

application/json, text/json

Sample:
[
  {
    "WarehouseZoneIDType": {
      "IDType": "ID",
      "Value": "167"
    },
    "WarehouseIDType": {
      "IDType": "ID",
      "Value": "124"
    },
    "Name": "new Warehouse Zone Name"
  },
  {
    "WarehouseZoneIDType": {
      "IDType": "Name",
      "Value": "Wz-1"
    },
    "WarehouseIDType": {
      "IDType": "Name",
      "Value": "Warehouse 1"
    },
    "Name": "Wz-1 Updated name"
  },
  {
    "WarehouseZoneIDType": {
      "IDType": "Name",
      "Value": "Old WarehouseZone Name 2"
    },
    "WarehouseIDType": {
      "IDType": "ID",
      "Value": "124"
    },
    "Name": "new Warehouse Zone Name 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfWarehouseZoneUpdateModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <WarehouseZoneUpdateModel>
    <WarehouseZoneIDType>
      <IDType>ID</IDType>
      <Value>167</Value>
    </WarehouseZoneIDType>
    <WarehouseIDType>
      <IDType>ID</IDType>
      <Value>124</Value>
    </WarehouseIDType>
    <Name>new Warehouse Zone Name</Name>
  </WarehouseZoneUpdateModel>
  <WarehouseZoneUpdateModel>
    <WarehouseZoneIDType>
      <IDType>Name</IDType>
      <Value>Wz-1</Value>
    </WarehouseZoneIDType>
    <WarehouseIDType>
      <IDType>Name</IDType>
      <Value>Warehouse 1</Value>
    </WarehouseIDType>
    <Name>Wz-1 Updated name</Name>
  </WarehouseZoneUpdateModel>
  <WarehouseZoneUpdateModel>
    <WarehouseZoneIDType>
      <IDType>Name</IDType>
      <Value>Old WarehouseZone Name 2</Value>
    </WarehouseZoneIDType>
    <WarehouseIDType>
      <IDType>ID</IDType>
      <Value>124</Value>
    </WarehouseIDType>
    <Name>new Warehouse Zone Name 2</Name>
  </WarehouseZoneUpdateModel>
</ArrayOfWarehouseZoneUpdateModel>

Response Information

Resource Description

Create/Update Warehouse Zones

WarehouseZoneUpdateModelCollectionResponse
NameDescriptionTypeAdditional information
TotalItemsProcessed integer None.
Successful integer None.
Failed integer None.
Responses Collection of WarehouseZoneUpdateModelResponse None.

Response Formats

application/json, text/json

Sample:
{
  "TotalItemsProcessed": 2,
  "Successful": 1,
  "Failed": 1,
  "Responses": [
    {
      "Update": {
        "WarehouseZoneIDType": {
          "IDType": "Name",
          "Value": "Old WarehouseZone Name"
        },
        "WarehouseIDType": {
          "IDType": "Name",
          "Value": "Default Warehouse"
        },
        "Name": "Wz2"
      },
      "Success": false,
      "Error": "Warehouse does not exist or you do not have permission to access it."
    },
    {
      "Update": {
        "WarehouseZoneIDType": {
          "IDType": "Name",
          "Value": "Old WarehouseZone Name"
        },
        "WarehouseIDType": {
          "IDType": "ID",
          "Value": "1"
        },
        "Name": "new Warehouse Zone Name"
      },
      "WarehouseZoneID": 2,
      "Success": true
    }
  ]
}