Back

Search

Search

Methods

Inventory

Orders

Inventory /UpdateInventoryItemChannelSKUsWithLocation

Response: Void



Update inventory Channel SKU's with location properties, such as Max Listed Quantity

Parameters

NameTypeDescription
inventoryItemChannelSKUsWithLocationList<StockItemChannelSKUWithLocation>Listing information

HTTP Endpoint

Server /Inventory / UpdateInventoryItemChannelSKUsWithLocation

Permissions

GlobalPermissions.Inventory.Stock.StockWrite.ChangeStockItemDetailsNode

Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/Inventory/UpdateInventoryItemChannelSKUsWithLocation HTTP/1.1
Host: eu-ext.linnworks.net
Connection: keep-alive
Accept: application/json, text/javascript, */*; q=0.01
Origin: https://www.linnworks.net
Accept-Language: en
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://www.linnworks.net/
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

inventoryItemChannelSKUsWithLocation=[
  {
    "fkRowId": "9225205f-d774-4f60-ab7d-772e0dbc6d77",
    "LocationId": 2,
    "LocationName": "sample string 3",
    "IgnoreSync": true,
    "MaxListedQuantity": 1,
    "EndWhenStock": 1,
    "StockPercentage": 1.1,
    "LastUpdate": "2018-10-03T11:12:34.1082329+01:00",
    "UpdateStatus": "sample string 5",
    "SubmittedQuantity": 6,
    "ListedQuantity": 7,
    "RetryCount": 8,
    "StockItemId": "972804c3-bbbd-4035-b520-a788ee0f8ecc"
  },
  {
    "fkRowId": "9225205f-d774-4f60-ab7d-772e0dbc6d77",
    "LocationId": 2,
    "LocationName": "sample string 3",
    "IgnoreSync": true,
    "MaxListedQuantity": 1,
    "EndWhenStock": 1,
    "StockPercentage": 1.1,
    "LastUpdate": "2018-10-03T11:12:34.1082329+01:00",
    "UpdateStatus": "sample string 5",
    "SubmittedQuantity": 6,
    "ListedQuantity": 7,
    "RetryCount": 8,
    "StockItemId": "972804c3-bbbd-4035-b520-a788ee0f8ecc"
  }
]

Response

This is an example response. Results may vary depending on your data.

null