PUT warehousezones/{warehouseZoneID}

Update a Warehouse Zone by ID

Request Information

URI Parameters

NameDescriptionTypeAdditional information
warehouseZoneID The ID of the Warehouse Zone to update integer Required

Body Parameters

The Warehouse Zone object

WarehouseZoneBasicUpdateModel
NameDescriptionTypeAdditional information
Name The Warehouse Zone Name string Required

Request Formats

application/json, text/json

Sample:
{
  "Name": "new Warehouse Zone Name"
}

application/xml, text/xml

Sample:
<WarehouseZoneBasicUpdateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>new Warehouse Zone Name</Name>
</WarehouseZoneBasicUpdateModel>

Response Information

Resource Description

Update a Warehouse Zone by ID

WarehouseZoneModel
NameDescriptionTypeAdditional information
WarehouseZoneID The ID for the WarehouseZone integer Required
Name The Warehouse Zone Name string None.
Warehouse The warehouse for the WarehouseZone WarehouseBaseModel None.

Response Formats

application/json, text/json

Sample:
{
  "WarehouseZoneID": 1,
  "Name": "WZ1",
  "Warehouse": {
    "WarehouseName": "My Warehouse",
    "WarehouseGuid": "4a47e640-caf0-4c5e-a811-576a2ecb5640",
    "WarehouseID": 1
  }
}

application/xml, text/xml

Sample:
<WarehouseZoneModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <WarehouseZoneID>1</WarehouseZoneID>
  <Name>WZ1</Name>
  <Warehouse>
    <WarehouseName>My Warehouse</WarehouseName>
    <WarehouseGuid>4a47e640-caf0-4c5e-a811-576a2ecb5640</WarehouseGuid>
    <WarehouseID>1</WarehouseID>
  </Warehouse>
</WarehouseZoneModel>