Use this call to delete inventory item.
All associated information will be unlinked/removed from this stock item.
Name | Type | Description |
---|---|---|
request | DeleteInventoryItemsRequest | Do not send this parameter |
inventoryItemIds | List<Guid> | List of stock item IDs that needs to be deleted |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Inventory/DeleteInventoryItems
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={
"InventoryItemIds": [
"ddfb20cc-b15f-4620-84c5-99c2b67ee9a3"
],
"SelectedRegions": [
{
"Item1": 1,
"Item2": 2
}
],
"Token": "4a1a75fb-0229-4f03-bbfe-949919642785"
}&inventoryItemIds=[
"ad51b339-aea1-4db3-9774-591154c45571"
]
This is an example of the response JSON. Results will vary depending on your data.