Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Inventory /ArchiveInventoryItems

Allows 150 calls per minute

Response: Void



Use this call to archive inventory items. Send only list of IDs and empty list of regions.

Parameters

NameTypeDescription
parametersInventoryParametersRequestInventoryParameters object

Example Request

The following request format is required for this method.

Endpoint URL

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

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.

parameters={
  "InventoryItemIds": [
    "389494be-938c-4d1e-9c96-ff77a6d70099"
  ],
  "SelectedRegions": [
    {
      "Item1": 1,
      "Item2": 2
    }
  ],
  "Token": "6080230d-c36f-41c6-bb26-05022887bb0c"
}

Response

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