Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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

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=2021-07-29T09:24:13.7457565+01:00&locationId=5d93e9c3-cb3c-4a83-afc1-ef7e00fbcd78&categoryId=85da82ae-78f2-4425-b02c-1db6f226d2a1&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
    }
  ]
}