Used to add scrap item
Name | Type | Description |
---|---|---|
request | AddScrapItemRequest |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Inventory/AddScrapItem
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
This is an example of the request structure. Results will vary depending on your data.
request={
"ScrapItem": {
"Id": "9b09122b-4f1f-4d47-8295-1a3962dc8069",
"StockItemId": "233d260e-fafd-4316-9ec2-196127a10d63",
"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.1954177+00:00",
"StockLocationId": "9d255018-2a24-4b45-9e61-15b229d61ed6"
},
"LocationId": "90debeee-7207-4dc7-8465-ca9c1b334504",
"IgnoreConsumption": true
}
This is an example of the response JSON. Results will vary depending on your data.
{
"ScrapItem": {
"Id": "d6f5edde-4e7e-488a-8215-819e17ce4c4c",
"StockItemId": "d646d20a-62d8-4715-81ac-f02722231a32",
"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.2640738+00:00",
"StockLocationId": "6067cab2-9319-49cb-ac05-1f2534a6501d"
}
}