Use this call to archive inventory items. Send only list of IDs and empty list of regions.
Name | Type | Description |
---|---|---|
parameters | InventoryParametersRequest | InventoryParameters object |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Inventory/ArchiveInventoryItems
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.
parameters={
"InventoryItemIds": [
"dac5ab4e-4882-4bc0-b364-c4808e6dd8a0"
],
"SelectedRegions": [
{
"Item1": 1,
"Item2": 2
}
],
"Token": "99c6d114-ba50-4722-8d16-833e6696ea79"
}
This is an example of the response JSON. Results will vary depending on your data.