PUT warehousezones/{warehouseZoneID}
Update a Warehouse Zone by ID
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| warehouseZoneID | The ID of the Warehouse Zone to update | integer | Required |
Body Parameters
The Warehouse Zone object
WarehouseZoneBasicUpdateModel
| Name | Description | Type | Additional 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:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Name>new Warehouse Zone Name</Name> </WarehouseZoneBasicUpdateModel>
Response Information
Resource Description
Update a Warehouse Zone by ID
WarehouseZoneModel| Name | Description | Type | Additional 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": "c2467d65-fc39-4a9d-8179-c17ba3363480",
"WarehouseID": 1
}
}
application/xml, text/xml
Sample:
<WarehouseZoneModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<WarehouseZoneID>1</WarehouseZoneID>
<Name>WZ1</Name>
<Warehouse>
<WarehouseName>My Warehouse</WarehouseName>
<WarehouseGuid>c2467d65-fc39-4a9d-8179-c17ba3363480</WarehouseGuid>
<WarehouseID>1</WarehouseID>
</Warehouse>
</WarehouseZoneModel>