Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Inventory /ScrapBatchedItem

Allows 150 calls per minute

Response: ScrapBatchedItemResponse



Used to scrap batched item

Parameters

NameTypeDescription
requestScrapBatchedItemRequest

Permissions

GlobalPermissions.Inventory.ScrapItems.ScrapStockNode

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Inventory/ScrapBatchedItem

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={
  "ScrapItem": {
    "Id": "c89b52b1-79d4-4d4b-beae-76b2dc7c2cef",
    "StockItemId": "32545bc8-bf64-4f9b-9f73-d844a6f887bc",
    "ItemNumber": "sample string 3",
    "ItemTitle": "sample string 4",
    "Quantity": 5,
    "CategoryName": "sample string 6",
    "ScrapReason": "sample string 7",
    "TotalCost": 8.1,
    "UserName": "sample string 9",
    "CreatedDate": "2022-09-05T15:10:02.1139047+03:00",
    "StockLocationId": "bcdb6c68-fa1e-4588-9fed-7a52cb60c63f"
  },
  "LocationId": "c4af2d38-0e42-4db1-9f8b-0ae7871d7823",
  "BatchInventoryId": 2,
  "IgnoreConsumption": true
}

Response

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

{
  "ScrapItem": {
    "Id": "e1634c43-0a1e-4864-8035-49253daebd01",
    "StockItemId": "26015eb5-09b9-4506-bdf9-629637fc340a",
    "ItemNumber": "sample string 3",
    "ItemTitle": "sample string 4",
    "Quantity": 5,
    "CategoryName": "sample string 6",
    "ScrapReason": "sample string 7",
    "TotalCost": 8.1,
    "UserName": "sample string 9",
    "CreatedDate": "2022-09-05T15:10:06.2570846+03:00",
    "StockLocationId": "0fa967b4-649e-4f1a-a755-f81568d4ec92"
  }
}