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": "e5db0932-915b-480a-81b6-eddacd24a60e", "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>e5db0932-915b-480a-81b6-eddacd24a60e</WarehouseGuid> <WarehouseID>1</WarehouseID> </Warehouse> </WarehouseZoneModel>