v1

latestOpenAPI 3.0.02026-07-266521,3121.2 MB
Stock

BookInStockBatch

Increases the stock level and current stock value of a batched stock item by the specified quantity <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/BookInStockBatch

Request body

Example request

{
  "stockItem": {
    "LocationId": "00000000-0000-0000-0000-000000000000"
  }
}

Response

OK

BatchIdinteger

Batch ID

SKUstring

Product SKU

InventoryTrackingTypeinteger

0 - None, 1 - Order by sell by date, 2 - Ordered by priority sequence

StockItemIdstring uuid

Product ID

BatchNumberstring

Batch number

ExpiresOnstring date-time

Batch expiry date

SellBystring date-time

Batch sell by date

IsDeletedboolean

Is the batch deleted

Example response

{
  "StockItemId": "00000000-0000-0000-0000-000000000000",
  "Inventory": [
    {
      "StockLocationId": "00000000-0000-0000-0000-000000000000"
    }
  ]
}