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": "a104526b-058d-417b-bf92-08ff8270afb5",
    "StockItemId": "adc5f083-11ba-49fd-87a6-58d5beacb71d",
    "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": "2023-01-10T13:49:46.1974962+00:00",
    "StockLocationId": "bf444587-d788-4f81-b202-8f616c5d6803"
  },
  "LocationId": "96d176c2-64da-41eb-a1eb-b4fa4a3fb7d4",
  "BatchInventoryId": 2,
  "IgnoreConsumption": true
}

Response

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

{
  "ScrapItem": {
    "Id": "0f7b2853-194c-4f29-b5cc-e05ecb8e8796",
    "StockItemId": "8799dff7-772c-44b3-b09d-13ff47401e14",
    "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": "2023-01-10T13:49:55.2680604+00:00",
    "StockLocationId": "7b0f672a-d642-4603-9a8b-da84a0064ad1"
  }
}