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

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": "723984a0-0a9b-48d0-b0da-4e380f631372",
  "StockItemIds": [
    "5d450b39-cac3-432e-b53a-e03355575373"
  ]
}

Response

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