Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Dashboards /GetInventoryLocationData

Allows 150 calls per minute

Response: List<StockItemLocation>



Use this call to retrieve report about "Stock info for locations"

Parameters

NameTypeDescription
dateNullable<DateTime>Used to specify report date or null for current period

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/Dashboards/GetInventoryLocationData?date=2022-01-13T12%3A45%3A41.5187074%2B00%3A00

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/Dashboards/GetInventoryLocationData

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.

date=2022-01-13T12:45:41.5187074+00:00

Response

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

[
  {
    "StockLocationId": "3903a44b-89a6-4a79-93b3-a0aeb8edcfba",
    "Location": "sample string 2",
    "StockLevel": 3.1,
    "StockValue": 4.1
  }
]