Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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

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": "a4ceca9e-d3b4-40f2-a621-514ebc6586a6",
    "StockItemId": "8e83cc2e-4124-4b3a-b733-a3fd4ca11ac5",
    "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": "2021-07-29T09:24:13.5361227+01:00",
    "StockLocationId": "135f50eb-186d-49dc-bff0-fc4a33f4f66c"
  },
  "LocationId": "10fc5f07-6250-4ad8-9d4c-a073356882d8",
  "BatchInventoryId": 2,
  "IgnoreConsumption": true
}

Response

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

{
  "ScrapItem": {
    "Id": "17b0556c-cc2e-46d0-959c-150d05077f81",
    "StockItemId": "e50aa5fa-dde9-46c8-b51c-29bfead2bab4",
    "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": "2021-07-29T09:24:52.7164612+01:00",
    "StockLocationId": "0025db50-b5ba-474e-8845-33835c422a72"
  }
}