Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Stock /DeleteVariationItems

Allows 150 calls per minute

Response: Void



Use this call to delete variation items in bulk

Parameters

NameTypeDescription
requestDeleteVariationItemsRequestContains variation group id 'VariationItemId' and id list of child items 'StockItemIds'

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/Stock/DeleteVariationItems

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={
  "VariationItemId": "2166ffb0-3a10-48a2-8781-151f41766515",
  "StockItemIds": [
    "4aea690d-8e11-474b-805c-397a3782aff6"
  ]
}

Response

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