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

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": [
    "16b053c0-3990-4683-b5e9-c961d5181b93"
  ],
  "SelectedRegions": [
    {
      "Item1": 1,
      "Item2": 2
    }
  ],
  "Token": "c9f359cc-6b93-4be5-94af-bbe33922d4b1"
}&inventoryItemIds=[
  "db7f1070-cd58-4087-9bc8-364b50049bee"
]

Response

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