Update and return stock level
Name | Type | Description |
---|---|---|
inventoryItemId | Guid | Stock Item Id |
fieldName | ColumnNameType | Name of field updated |
fieldValue | String | Input value |
locationId | Guid | Location Id |
changeSource | String | changeSource |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/Inventory/UpdateInventoryItemStockField
Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE
This is an example of the request structure. Results will vary depending on your data.
inventoryItemId=dfc3932c-5221-484b-a3f1-ab799203cd19&fieldName=0&fieldValue=sample string 1&locationId=ccab4899-940d-46fc-b62a-882d5140fd74&changeSource=sample string 1
This is an example of the response JSON. Results will vary depending on your data.
{
"sample string 1": {
}
}