Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Stock /BatchStockLevelDelta

Allows 150 calls per minute

Response: BatchStockLevelDeltaResponse


Parameters

NameTypeDescription
requestBatchStockLevelDetaRequest

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Stock/BatchStockLevelDelta

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.

request={
  "StockLevelDeltas": [
    {
      "SKU": "sample string 1",
      "BatchNumber": "sample string 2",
      "BinRack": "sample string 3",
      "DeltaQuantity": 4,
      "Reason": "sample string 5",
      "pkBatchInventoryId": 1,
      "Quantity": 6,
      "StockValue": 7.0,
      "Errors": [
        "sample string 1"
      ],
      "NewLevel": 10,
      "BatchStatus": "sample string 8"
    }
  ],
  "StockLocationId": "5914ca28-9c16-49c8-a814-1b7f16435c12"
}

Response

This is an example of the response JSON. Results will vary depending on your data.

{
  "ProcessedDeltas": [
    {
      "SKU": "sample string 1",
      "BatchNumber": "sample string 2",
      "BinRack": "sample string 3",
      "DeltaQuantity": 4,
      "Reason": "sample string 5",
      "pkBatchInventoryId": 1,
      "Quantity": 6,
      "StockValue": 7.0,
      "Errors": [
        "sample string 1"
      ],
      "NewLevel": 10,
      "BatchStatus": "sample string 8"
    }
  ],
  "ProcessedContainsErrors": true
}