Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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

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": "b16440b7-50e3-4714-b296-8d27cbff02dc",
  "StockItemIds": [
    "495bce76-53d6-4835-9d46-9dd02d5b1ba9"
  ]
}

Response

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