v1

latestOpenAPI 3.0.02026-07-266521,3121.2 MB
Stock

AddRollingStockTake

Add rolling stock take/count. Rolling stock count will create a stock count header for every day (UTC based). Every request will create a session, adds all entries into the stock count recounts all totals and discrepancies. WMS location or batched items requires BatchInventoryId to be specified. If you are submitting stock level for item that doesn't have batch inventory you must create it first, get its id and submit in the count The method validates all entries, if any errors encountered the whole request will be rejected. <b>Permissions Required: </b> GlobalPermissions.Inventory.StockTake.RollingStockCountNode <b>Rate limit: </b><span style="background-color:#0272d9;color:white;padding:4px 8px;text-align:center;border-radius:5px; font-size: small;"><b>150</b></span> / minute

post/api/Stock/AddRollingStockTake

Request body

LocationIdstring uuid

Location Id

SessionDuriationSecondsinteger

Time in seconds the stock take session has taken

Example request

{
  "LocationId": "00000000-0000-0000-0000-000000000000",
  "Items": [
    {
      "PickingWaveItems": [
        {
          "StockItemId": "00000000-0000-0000-0000-000000000000"
        }
      ],
      "StockItemId": "00000000-0000-0000-0000-000000000000"
    }
  ]
}

Response

OK

Example response

{
  "ErroredItems": [
    {
      "PickingWaveItems": [
        {
          "StockItemId": "00000000-0000-0000-0000-000000000000"
        }
      ],
      "StockItemId": "00000000-0000-0000-0000-000000000000"
    }
  ]
}