Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Inventory /GetInventoryItemLocations

Allows 250 calls per minute

Response: List<StockItemLocation>



Use this call to get stock item locations bin/rack

Parameters

NameTypeDescription
inventoryItemIdGuidStock item ID

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/GetInventoryItemLocations?inventoryItemId=2a59066a-6af6-4c1a-a19f-faa8fc999c99

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/GetInventoryItemLocations

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.

inventoryItemId=2a59066a-6af6-4c1a-a19f-faa8fc999c99

Response

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

[
  {
    "StockLocationId": "69152539-9ace-4215-88ae-696f76d4b6a4",
    "LocationName": "sample string 2",
    "BinRack": "sample string 3",
    "StockItemId": "7999715e-6bf4-40df-bad8-3faf4a10f058",
    "StockItemIntId": 5
  }
]