Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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": [
    "e8d5a0c1-c45c-4a2d-b5db-ac803169db60"
  ],
  "SelectedRegions": [
    {
      "Item1": 1,
      "Item2": 2
    }
  ],
  "Token": "31f349f7-bc42-448f-975d-0443c77444f7"
}&inventoryItemIds=[
  "ad498f6a-8d86-4563-a737-86722ebe3c1c"
]

Response

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