Use this call to update stockItem compositions
Name | Type | Description |
---|---|---|
inventoryItemCompositions | List<StockItemComposition> | stockItem compositions |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Inventory/UpdateInventoryItemCompositions
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
This is an example of the request structure. Results will vary depending on your data.
inventoryItemCompositions=[
{
"LinkedStockItemId": "05a726b0-2da1-4cdb-b43a-c22adbd5bb7e",
"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": "f773ba6b-8873-4ce1-a1c9-959d4df31000",
"TaxRate": 12.1,
"StockItemId": "53558555-20f9-4c67-89a3-e9327f97ffd9",
"StockItemIntId": 2
}
]
This is an example of the response JSON. Results will vary depending on your data.