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
WarehouseZoneModelName | 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": "810bab61-efba-4a7d-9f21-97054c5d02ba", "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>810bab61-efba-4a7d-9f21-97054c5d02ba</WarehouseGuid> <WarehouseID>1</WarehouseID> </Warehouse> </WarehouseZoneModel>