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": [
    "ddfb20cc-b15f-4620-84c5-99c2b67ee9a3"
  ],
  "SelectedRegions": [
    {
      "Item1": 1,
      "Item2": 2
    }
  ],
  "Token": "4a1a75fb-0229-4f03-bbfe-949919642785"
}&inventoryItemIds=[
  "ad51b339-aea1-4db3-9774-591154c45571"
]

Response

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