Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Inventory /UpdateInventoryItemChannelSKUsWithLocation

Allows 150 calls per minute

Response: Void



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

Parameters

NameTypeDescription
inventoryItemChannelSKUsWithLocationList<StockItemChannelSKUWithLocation>Listing information

Permissions

GlobalPermissions.Inventory.Stock.StockWrite.ChangeStockItemDetailsNode

Example Request

The following request format is required for this method.

Get

Endpoint URL

This is an example of the request structure. Results will vary depending on your data.

GET https://eu-ext.linnworks.net/api/Inventory/UpdateInventoryItemChannelSKUsWithLocation?inventoryItemChannelSKUsWithLocation=%5B%0D%0A%20%20%7B%0D%0A%20%20%20%20%22fkRowId%22%3A%20%22c6edf816-d3f1-40c1-a813-4e58d432a257%22%2C%0D%0A%20%20%20%20%22LocationId%22%3A%202%2C%0D%0A%20%20%20%20%22LocationName%22%3A%20%22sample%20string%203%22%2C%0D%0A%20%20%20%20%22IgnoreSync%22%3A%20true%2C%0D%0A%20%20%20%20%22MaxListedQuantity%22%3A%201%2C%0D%0A%20%20%20%20%22EndWhenStock%22%3A%201%2C%0D%0A%20%20%20%20%22StockPercentage%22%3A%201.1%2C%0D%0A%20%20%20%20%22LastUpdate%22%3A%20%222022-01-13T12%3A45%3A41.4967667%2B00%3A00%22%2C%0D%0A%20%20%20%20%22UpdateStatus%22%3A%20%22sample%20string%205%22%2C%0D%0A%20%20%20%20%22SubmittedQuantity%22%3A%206%2C%0D%0A%20%20%20%20%22ListedQuantity%22%3A%207%2C%0D%0A%20%20%20%20%22RetryCount%22%3A%208%2C%0D%0A%20%20%20%20%22StockItemId%22%3A%20%229e2b5d31-a88f-4df1-8de8-02caf184fbc3%22%2C%0D%0A%20%20%20%20%22StockItemIntId%22%3A%2010%0D%0A%20%20%7D%0D%0A%5D

Headers

Connection: keep-alive
Accept: application/json
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Post

Endpoint URL

POST https://eu-ext.linnworks.net/api/Inventory/UpdateInventoryItemChannelSKUsWithLocation

Headers

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

Request Body

This is an example of the request structure. Results will vary depending on your data.

inventoryItemChannelSKUsWithLocation=[
  {
    "fkRowId": "c6edf816-d3f1-40c1-a813-4e58d432a257",
    "LocationId": 2,
    "LocationName": "sample string 3",
    "IgnoreSync": true,
    "MaxListedQuantity": 1,
    "EndWhenStock": 1,
    "StockPercentage": 1.1,
    "LastUpdate": "2022-01-13T12:45:41.4967667+00:00",
    "UpdateStatus": "sample string 5",
    "SubmittedQuantity": 6,
    "ListedQuantity": 7,
    "RetryCount": 8,
    "StockItemId": "9e2b5d31-a88f-4df1-8de8-02caf184fbc3",
    "StockItemIntId": 10
  }
]

Response

This is an example of the response JSON. Results will vary depending on your data.