Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Stock /BookInStockItem

Allows 150 calls per minute

Response: Void



Increases the stock level and current stock value of a stock item by the specified quantity.

Parameters

NameTypeDescription
stockItemBookInStockItemBook in parameters used to update stock items

Permissions

GlobalPermissions.Inventory.Stock.StockWrite.ChangeStockLevelsNode

Example Request

The following request format is required for this method.

Get

Endpoint URL

This is an example of the request structure. Results will vary depending on your data.

GET https://eu-ext.linnworks.net/api/Stock/BookInStockItem?stockItem=%7B%0D%0A%20%20%22StockItemId%22%3A%20%2290d4930e-c633-400d-b206-54bccaee68b5%22%2C%0D%0A%20%20%22LocationId%22%3A%20%22a1aa9737-f1cf-408a-af00-0efd060920c1%22%2C%0D%0A%20%20%22QuantityReceived%22%3A%203%2C%0D%0A%20%20%22CostPerUnit%22%3A%204.0%2C%0D%0A%20%20%22BinRack%22%3A%20%22sample%20string%205%22%0D%0A%7D

Headers

Connection: keep-alive
Accept: application/json
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Post

Endpoint URL

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

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.

stockItem={
  "StockItemId": "90d4930e-c633-400d-b206-54bccaee68b5",
  "LocationId": "a1aa9737-f1cf-408a-af00-0efd060920c1",
  "QuantityReceived": 3,
  "CostPerUnit": 4.0,
  "BinRack": "sample string 5"
}

Response

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