Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Stock /GetStockItemsLocation

Allows 150 calls per minute

Response: GetStockItemsLocationResponse



Get the location (including binrack) of a given list of stockItemIds and stockLocationIds

Parameters

NameTypeDescription
requestGetStockItemsLocationRequest

Permissions

GlobalPermissions.Inventory.MyInventoryNode

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Stock/GetStockItemsLocation

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.

request={
  "StockItemLocations": [
    {
      "StockItemId": "924787a1-71df-4d63-a1af-4d2fbb38d876",
      "StockLocationId": "539c5a9d-9e85-4d87-afa7-6055dbcaaf40"
    }
  ],
  "AuthToken": "sample string 1",
  "AccountId": "sample string 2",
  "VendorFriendlyName": "sample string 3",
  "Vendor": "sample string 4"
}

Response

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

{
  "StockItemLocations": [
    {
      "StockLocationId": "5c365618-d45f-49d9-8839-4623c58744a9",
      "LocationName": "sample string 2",
      "BinRack": "sample string 3",
      "StockItemId": "866cd5b4-ca11-4bf7-b66b-b22223e42b9d",
      "StockItemIntId": 5
    }
  ]
}