editZone

Edit the target zone's attributes.

URL

POST /stockTake/editZone

Input

{
"zone": "Name of the zone to be altered",
"newname": "[Optional] New Name of the zone",
"height": "[Optional] New Height of the zone",
"width": "[Optional] New Width of the zone"
}

Parameters

ParameterTypeDescription
zonestringTarget zone identifier
newnamestring[Optional] The new name of the zone
heightinteger[Optional] The new height of the zone (number of rows in the zone)
widthinteger[Optional] The new width of the zone (number of columns in the zone)

Output

OK if successful

FAIL if unsuccessful