Stock

GetStockConsumption

Use this call to retrieve report about "stock consumption between two dates" <b>Rate limit: </b><span style="background-color:#0272d9;color:white;padding:4px 8px;text-align:center;border-radius:5px; font-size: small;"><b>250</b></span> / minute

get/api/Stock/GetStockConsumption

Request

  • Base URL
    https://eu-ext.linnworks.net
  • URL
    https://eu-ext.linnworks.net/api/Stock/GetStockConsumption
  • Auth
    API key in header Authorization

Query parameters

stockItemIdstring uuid

Used to specify report stock id

locationIdstring uuid

Used to specify location id. If null, then will return combined result of every location

startDatestring date-time

Used to specify report start date

endDatestring date-time

Used to specify report end date

Response

OK

Datestring date-time

When stock was sold

StockQuantityinteger

Sold quantity

StockValuenumber double

Current stock value

Shippedinteger

Shipped stock

StockItemIdstring uuid

Stock Item Id

StockItemIntIdinteger

Stock Item interger Id

Example response

[
  {
    "StockItemId": "00000000-0000-0000-0000-000000000000"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.