Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Inventory /UpdateInventoryItemCompositions

Allows 150 calls per minute

Response: Void



Use this call to update stockItem compositions

Parameters

NameTypeDescription
inventoryItemCompositionsList<StockItemComposition>stockItem compositions

Permissions

GlobalPermissions.Inventory.Stock.StockWrite.ChangeStockItemDetailsNode

Example Request

The following request format is required for this method.

Endpoint URL

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

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.

inventoryItemCompositions=[
  {
    "LinkedStockItemId": "3f3bac43-3088-4423-aa49-e82a4c7bd05c",
    "ItemTitle": "sample string 2",
    "SKU": "sample string 3",
    "Quantity": 4,
    "PurchasePrice": 5.1,
    "InventoryTrackingType": 64,
    "DimHeight": 7.1,
    "DimWidth": 8.1,
    "DimDepth": 9.1,
    "Weight": 10.1,
    "PackageGroupId": "b2c3be02-bc5e-46bd-a7ac-ca50c52d060f",
    "TaxRate": 12.1,
    "StockItemId": "f966f43b-c0ef-4cb9-b907-065e55fb0b7a",
    "StockItemIntId": 2
  }
]

Response

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