v1

latestOpenAPI 3.0.02026-07-266521,3121.2 MB
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

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"
  }
]