Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Dashboards /GetInventoryLocationProductsData

Allows 250 calls per minute

Response: PagedStockCategoryLocationProductResult



Use this call to retrieve report about "Stock info for products in a specific category and location"

Parameters

NameTypeDescription
dateNullable<DateTime>Used to specify report date or null for current period
locationIdGuidUsed to specify report location id
categoryIdGuidUsed to specify report category id
pageNumberInt32Used to specify report page number
entriesPerPageInt32Used to specify number of entries per page in report

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Dashboards/GetInventoryLocationProductsData

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=2023-01-10T13:49:46.354069+00:00&locationId=cb213ae7-281b-420c-899a-63e7b597e63e&categoryId=355a12e8-3f31-4f95-a840-f42d738006af&pageNumber=1&entriesPerPage=1

Response

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

{
  "TotalResults": 1,
  "Results": [
    {
      "ItemNumber": "sample string 1",
      "ItemTitle": "sample string 2",
      "StockLevel": 3,
      "StockValue": 4.1
    }
  ]
}