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": "7ab649bf-58fb-4153-8dcf-3da08d06c140",
    "StockItemId": "d7107ab7-d65c-44da-89b9-cdb929c889ab",
    "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-08-03T16:02:29.5071937+01:00",
    "StockLocationId": "13a494e9-8be6-4dd8-ba7d-58167031bfc1"
  },
  "LocationId": "75d1a002-4f39-4f9e-966a-91a5dbb83288",
  "BatchInventoryId": 2,
  "IgnoreConsumption": true
}

Response

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

{
  "ScrapItem": {
    "Id": "fbe220ce-474d-4844-b1d5-8e635fcf9918",
    "StockItemId": "37356b3c-28ef-490b-af8f-a6581dbf9bf3",
    "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-08-03T16:02:34.7435451+01:00",
    "StockLocationId": "f758c383-bafd-4280-a60e-6e3a4064626f"
  }
}