Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Inventory /AddScrapItem

Allows 150 calls per minute

Response: AddScrapItemResponse



Used to add scrap item

Parameters

NameTypeDescription
requestAddScrapItemRequest

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/AddScrapItem

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": "4db5d565-6ad4-4b96-8a22-23d3aec0e3a2",
    "StockItemId": "65af7a8a-a43f-430a-bf4a-e4415c59bd69",
    "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.1088975+03:00",
    "StockLocationId": "2adb81be-ec60-427c-b903-3c21128f09ab"
  },
  "LocationId": "4af56eff-5852-495a-a5f4-5793786bc7e1",
  "IgnoreConsumption": true
}

Response

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

{
  "ScrapItem": {
    "Id": "7e828f70-0f03-45e0-8fec-480572e4ebee",
    "StockItemId": "4ce393eb-79e6-4d22-9af5-33b79ac8c59f",
    "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.250085+03:00",
    "StockLocationId": "04891506-e996-4fa8-9c76-9b1467cbdb86"
  }
}