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": "ab557382-2123-4ae9-9cdb-667ae21014b5", "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>ab557382-2123-4ae9-9cdb-667ae21014b5</WarehouseGuid> <WarehouseID>1</WarehouseID> </Warehouse> </WarehouseZoneModel>