Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Inventory /DeleteInventoryItems

Allows 150 calls per minute

Response: Void



Use this call to delete inventory item.
All associated information will be unlinked/removed from this stock item.

Parameters

NameTypeDescription
requestDeleteInventoryItemsRequestDo not send this parameter
inventoryItemIdsList<Guid>List of stock item IDs that needs to be deleted

Permissions

GlobalPermissions.Inventory.DeleteMyInventoryItems.DeleteItemsNode

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Inventory/DeleteInventoryItems

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={
  "InventoryItemIds": [
    "a26909af-5750-4086-b188-72ae387abfa5"
  ],
  "SelectedRegions": [
    {
      "Item1": 1,
      "Item2": 2
    }
  ],
  "Token": "11d8f0df-1614-4701-8ae6-9e75b0aa58bd"
}&inventoryItemIds=[
  "32b845b4-f183-4273-8c64-88772422b504"
]

Response

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